OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Lt.Marshall on 20 Jan 2003, 09:41:45

Title: removing all weapons?
Post by: Lt.Marshall on 20 Jan 2003, 09:41:45
I downloaded a pack with new weapons, but can't find the names for the weapons.  Is there a way where I can just remove all weapons from a character?  Thanks.
Title: Re:removing all weapons?
Post by: Ilkka on 20 Jan 2003, 10:24:37
Put this to guys init field: RemoveAllWeapons unitName



Hope that help  :)
Title: Re:removing all weapons?
Post by: asmodeus on 20 Jan 2003, 11:38:24
Quote
Put this to guys init field: RemoveAllWeapons unitName

Very close...

But if you are putting it in the unit's init, you would want to use:  Removeallweapons this

 ;)   ;D

Asmo
Title: Re:removing all weapons?
Post by: Ilkka on 20 Jan 2003, 12:51:30
Well. i think both of them works.
Title: Re:removing all weapons?
Post by: Artak on 20 Jan 2003, 16:19:33
aye. both of them work allright.

to put some weapons back on to the soldier boy you will need those weapon string names though. Usually there's a readme file provided by the author in the addon pack. And if there isn't one then I'd look twice the addons I'm about to install without a readme to make sure they're not really really crappy  ;)