Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Hapexi

Need a chopper to fire when triggers goes off.

Recommended Posts

I have a AH-9 Pawnee flying to waypoint and once it reaches it, I want it to fire its rockets to a marker I have specified. I have tried to understand other posts about the useWeapon action, but since I am new to mission editing I would appreciate if someone could explain it a bit better. I have tried all kinds of stuff without success. My pawnee is named attack1 and I have trigger with on Act. attack1 action ["useWeapon", attack1, pilot, 0] (I have tried different variations of this) but it does nothing. I have tried with other actions like LightsOn with vehicles and it works, but this one seems a bit more complicated. If anyone could tell me what am I doing wrong, I just want it to fire its rockets when I arm an trigger, that simple. I will figure out targeting later. I do realize the weapon index 0 might not be the rockets, but then it would be just a matter of changing the number. If it would fire any weapon for starters, I would be happy.

---------- Post added at 10:37 ---------- Previous post was at 09:49 ----------

Well an update to this one. I managed to get the chopper fire with attack1 fire "missiles_DAR" command. It only fires once tho. I have read on many sites that the fire command might not be working anymore, but seems that it does.

Edited by Hapexi

Share this post


Link to post
Share on other sites

null=[4] spawn {_rnd=_this select 0;while {alive heli and _rnd >0} do {  heli fire "missiles_DAR"; sleep 2.5;_rnd=_rnd-1}}

works fine here

Share this post


Link to post
Share on other sites

Yes, works nice, thank you.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×