OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Recon Ranger on 26 Aug 2002, 02:01:25

Title: Ammo Crates
Post by: Recon Ranger on 26 Aug 2002, 02:01:25
How do I customize the weapons and ammo in the crates or trucks? thanks
Title: Re:Ammo Crates
Post by: danbryant4 on 26 Aug 2002, 04:47:27
Type these commands in the INIT field.

clearWeaponCargo this; //clears all weapons
clearMagazineCargo this; //clears all magazines

this addWeaponCargo ["X",Y]; //where X = weapon name //where Y = number of weapons you want in crate

this addMagazineCargo ["X",Y]; //where X = magazine name //where Y = number of magazines you want in crate

Daniel J Bryant
Title: Re:Ammo Crates
Post by: Recon Ranger on 26 Aug 2002, 08:28:41
what are the names for weapons?
Title: Re:Ammo Crates
Post by: woofer on 26 Aug 2002, 14:02:34


[attachment deleted by admin]
Title: Re:Ammo Crates
Post by: Recon Ranger on 27 Aug 2002, 04:16:47
Don't worry I won't   :booty: