OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bmgarcangel on 20 May 2003, 23:56:46

Title: ammo in vehicles
Post by: bmgarcangel on 20 May 2003, 23:56:46
I'm back again.  Gone is my little six week vacation that Kaliyuga gave me so that I could build more missions.

 Anyways, I gota question.  You see I have this helo in a cutscene and it flys around with no ammo ( because I don't want it to shoot at some tanks ) but then it gets to this point and I want it to shoot but I can't find the command that gives its ammo back again.  Please help me here!!
Title: Re:ammo in vehicles
Post by: Kaliyuga on 21 May 2003, 00:02:52
what kind of chopper?
Title: Re:ammo in vehicles
Post by: bmgarcangel on 21 May 2003, 00:05:30
A Cobra and a AH-64
Title: Re:ammo in vehicles
Post by: Kaliyuga on 21 May 2003, 00:09:32
AH1

addmagazine "HellfireLauncherCobra"
addmagazine "ZuniLauncher38"
addmagazine "MachineGun30"


AH64

addmagazine "HellfireLauncherApach"
addmagazine "ZuniLauncher38"
addmagazine "MachineGun30"
Title: Re:ammo in vehicles
Post by: bmgarcangel on 21 May 2003, 00:36:02
thanks dude
Title: Re:ammo in vehicles
Post by: punisher on 21 May 2003, 21:20:33
hi
i am a novice but you could: "Setcaptive true"
the tanks so he wont shoot them and when you want him to shoot just: "Setcaptive false" the tanks in a timed trigger.
Just a theary       :)!Remember the Solve button! :)