OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: sharkattack on 29 Dec 2008, 11:15:09
-
im trying to have freed prisoners rearm themselves but cant seem to find the correct command
in ofp is was something along the lines of
captive action ["Take Weapon",box,0,0,"AK47"]
is there a similar set up for arma ?
many thanks in advance :)
-
unitname action ["TAKEWEAPON", (vehiclename or unitname or ammoboxname), "WEAPONNAME"]
Make sure you put the correct class of the weapon there.
-
thanks mate ..
works a treat :) (AK74)