OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: LimeCordial on 24 Aug 2002, 19:43:18
-
how do you do that?
this addweaponcargo [NAME, AMOUNT]
this addmagazinecargo [NAME,AMOUNT]
dont work. ???
-
Try to clear their cargo first
-
Name needs quotes.Also i tried adding a dragunov to a crate in a mission, didn't work.I changed the crate for a truck and it was fine.
-
Can someone give a link to a complete (I say again, complete) list of all the weapons that one can put into or take out of a unit's or cargo's inventory? I've found some instances where people mention specific ones like the xms but in my searching I've yet to find a link or mention of all the weapon and magazine object names. Thanks very much for your help.
-
*sigh*
maybe some1 should explain the beauty of the command reference - its a very simple html file that tells you all these simple questions...
anyways - i know it isnt simple when u dont know how to do it, so of course im gonna help.
type this into the ammobox init field:
this addweaponcargo ["weaponname", #]
change # to the number you want. For magazines just change it to addmagazinecargo
:thumbsup: