OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Bruce Banner on 25 Jan 2004, 13:46:52

Title: Take That
Post 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.
Title: Re:Take That
Post by: jepo on 25 Jan 2004, 13:50:07
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]
Title: Re:Take That
Post by: Bruce Banner on 25 Jan 2004, 13:51:35
Thanks mate.

Would I have to add magazine first so its loaded when picking it up?
Title: Re:Take That
Post by: jepo on 25 Jan 2004, 14:10:48
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
Title: Re:Take That
Post by: macguba on 25 Jan 2004, 14:10:49
Probably.