OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Jenkins on 16 Mar 2003, 02:02:38

Title: Drop Weapons?
Post by: Jenkins on 16 Mar 2003, 02:02:38
Whats the correct Syntax command to make an AI Soldier drop his weapon/weapons (Res)?
Title: Re:Drop Weapons?
Post by: Terame on 16 Mar 2003, 08:02:03
Been looking for this one too  ???

I'll keep an eye out on other forums too
Title: Re:Drop Weapons?
Post by: Ace on 16 Mar 2003, 11:03:27
Unitname action ["drop weapon",Unitname,0,0,"WeaponName"]

is the correct syntax
Title: Re:Drop Weapons?
Post by: Terame on 17 Mar 2003, 06:02:45
Unitname action ["drop weapon",Unitname,0,0,"WeaponName"]

is the correct syntax

Excellent - where "WeaponName" is the name as it appears in the inventory?

Will try it straight away THANKS ACE!  ;D