OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Surdus Priest on 03 Dec 2007, 20:54:36
-
["LOADMAGAZINE", <target>, <magazine creator>, <magazine id>, <weapon name>, <muzzle name>]
can someone please explain how this command works? i dont understand the target, mag creator, and ID.
what i want it to do is force the player to reload a weapon.
-
Magazine ID should be the Magazine Classname (http://www.ofpec.com/COMREF/armaweapons.php)
Probably magazine creator is the magazine owner (the soldier? an ammo box?) and the target is the soldier that will load the magazine. you might try with soldier1 soldier1 for both, target and creator.
-
player action ["LOADMAGAZINE", player, player, "30Rnd_556x45_G36", "g36a", "g36a"]
i tried that but i still have 1 missing element.