OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: netta1234 on 10 Jan 2004, 18:06:37
-
how do i make al drop weapon and mag?
plz reple
-
fill this into your init field :
removeallweapons this;
-
have you downloaded ofp'?
-
Greetings.
"removeAllWeapons this" will cause the AI unit to instantly lose their weapon. If you want them to actually drop it, you need to use the action command.
unitName action ["drop weapon", weapon]
unitName action ["drop magazine", mag]
I think. It might be completely different to that, so correct me. ::)
-Supr. Cmdr. PsyWarrior
-Psychic Productions
-
have you downloaded ofp'?
explain :|