Home   Help Search Login Register  

Author Topic: Ammo crates  (Read 787 times)

0 Members and 2 Guests are viewing this topic.

Lefty

  • Guest
Ammo crates
« on: 16 Oct 2002, 18:26:31 »
how can i fill my ammo crates with the guns and ammo that i choose

John McClain

  • Guest
Re:Ammo crates
« Reply #1 on: 18 Oct 2002, 09:20:48 »
A simple solution is to add some commands in the INIT of the object. Assuming your ammo crates is called "MunMag":

MunMag AddWeaponCargo ["M16", 2]

would add two M16. Look also at the following commands:

- AddMagazineCargo
- ClearWeaponCargo

It works fine, but I experienced problem when adding Satchel charges. Maybe someone knows about that ?

CptBravo

  • Guest
Re:Ammo crates
« Reply #2 on: 22 Oct 2002, 07:28:38 »
I had same problem with Satchel charges. The way I got it to work was to add it twice as both a weapon and a magazine.