OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Bruce Banner on 25 Jan 2004, 13:46:52
-
Please tell me how to add a loaded law to a Bradley so I can arm dismounts with it if need be?
I forgot.
-
this addweaponcargo ["x1", x2]
this addmagazinecargo ["x1", x2]
x1 is the type of weapon or mag
x2 is the amount
e.g:
this addweaponcargo ["m16", 1];this addmagazinecargo ["m16", 10]
-
Thanks mate.
Would I have to add magazine first so its loaded when picking it up?
-
well, i think if u have room in your backpack (or wotever it is) and u take the law launcher, then u will also take a cupple of rockets automatically and it will be loaded when u switch weapons
-
Probably.