OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: chappy on 06 Apr 2007, 03:43:00

Title: flares and Fire command for ArmA
Post by: chappy on 06 Apr 2007, 03:43:00
Hey all, first post here
I've searched for this problem but from what i can see the only answers available are for OFP versions and from what i've tried they are not useable in ARMA

I'm trying to get OPFOR to fire flare shells from the ak74GL.
Anyone know how to ?
so far i have 'this addmagazine "flarered_gp25";' in each init field of the guys i want to fire the flares and then a trigger set for blufor to enter that will give the fire command to the opfor grenadiers. however the fire commands i've tried (basically all examples from ofp) have not worked.
Title: Re: flares and Fire command for ArmA
Post by: Planck on 06 Apr 2007, 16:46:35
The search function is your friend.

I searched on 'GP25' and uncovered this:

http://www.ofpec.com/forum/index.php?topic=28888.0


Planck
Title: Re: flares and Fire command for ArmA
Post by: chappy on 08 Apr 2007, 10:13:16
i did search. ;) for 'grenade', AK74GL, flarered_gp25  etc etc.
thanx anywayz
Title: Re: flares and Fire command for ArmA
Post by: RaymondLu on 16 Apr 2007, 09:00:10
Hey all, first post here
I've searched for this problem but from what i can see the only answers available are for OFP versions and from what i've tried they are not useable in ARMA

I'm trying to get OPFOR to fire flare shells from the ak74GL.
Anyone know how to ?
so far i have 'this addmagazine "flarered_gp25";' in each init field of the guys i want to fire the flares and then a trigger set for blufor to enter that will give the fire command to the opfor grenadiers. however the fire commands i've tried (basically all examples from ofp) have not worked.

flarered_gp25 is the magzine name. try use its ammo name:
"F_40mm_Red"
Title: Re: flares and Fire command for ArmA
Post by: sharkattack on 23 Apr 2007, 22:33:16
give unit flare and rifle with launcher (units init field)
this addMagazine"FlareRed_GP25";this addMagazine"FlareRed_GP25"; this addWeapon"AK74GL"   

to fire flare
unitname fire ["GP25Muzzle", "GP25Muzzle", "FlareRed_GP25"]