OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: White Angel on 20 May 2003, 18:00:33
-
Hi everybody,
A have a problem to reload Mi24 weapons. what are the magazines of this helicopter ? I have found only two of the three weapons(helfire and Rocket are OK, but i can't reload machine Gun)
Thanks
-
Mi24 addmagazine "HellfireLauncherHind"
Mi24 addmagazine "Rocket57x64"
Mi24 addmagazine "MachineGun30"
there ya go :toocool:
-
Thanks Kaliyuga,
But i've already tried it. With helfire and rocket there is no problems. (with the command "addmagazine...")
But with the "MachineGun30" it doesn't work ! No more magazine appears in the helicopter board when i execute the command !?! ???
Have you already tried it ? It works ?
-
Hi White Angel!
Why don't you try with an Ammo Truck or an Ammo Ural? :) Could this help?
Crunch
-
...
Mi24 addmagazine "MachineGun30"
...
This changed with the release of Resistance...
I learned the hard way when one of my cutscenes stopped working... ;D
Try:
Mi24 addmagazine "MachineGun30E"
In future if you want to get a list of the weapons/magazines carried by any unit (or vehicle), try using a trigger like this:
Trigger
Radius: 0,0
Condition: Radio Alpha
Condition Field: this
OnActivation Field: hint format ["%1\n\n%2",weapons unit, magazines unit ]
Which will give you a list of the weapons unit has, then a list of the magazines it has ;)
-
If you want it to be realistic add the ammo to a non-empty ammo truck, set a support waypoint close to the truck. Land your helo and call for ammo support. Sorted.
-
Thanks to all,
And particularly Sui who gave me the solution... ;)