OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Elite51 on 09 Sep 2002, 04:52:07

Title: Adding Weapons to Ammo Box
Post by: Elite51 on 09 Sep 2002, 04:52:07
I have seen maps with every type of weapons, what would I do to get all the weapons into an ammo box?
Title: Re:Adding Weapons to Ammo Box
Post by: T.S.C.Plage on 09 Sep 2002, 05:50:18
You should realy check a reference/tutorial... ;)

Write this in the initline of a ammobox:

clearweaponcargo this; this addweaponcargo ["M16",5]; this addmagazinecargo ["M16",20]

That'll give you a box with 5 M16s and 20 M16 magazines.

Greetz
Plage