Home   Help Search Login Register  

Author Topic: rearming via script...  (Read 446 times)

0 Members and 1 Guest are viewing this topic.

Offline SEAL84

  • Members
  • *
  • Always lurking
rearming via script...
« on: 06 Jul 2004, 16:22:49 »
So I'm bashing my head against a table trying to add new units to MFCTI 1.16 and I realize that the rearm scripts in the mission (so you can rearm everything at the generic ammo truck) require you to type out the exact amount of ammo and such that you want put into the vehicle.

This is a MAJOR pain in the ass because, obviously, every unit I want to add uses a different weapon and ammunition.

Is there any easier way to rearm vehicles?  Can some script be written that detects what ammo was carried and automatically refills it, without having to type out "addmagazine "50cal" a hundred times?

Maybe use variables detecting what ammo it carried and how much ammo there was?