Jump to content
janchezs

Make AI jet fire a specific missile.

Recommended Posts

So Im in procces of making a big jet mission and it starts with you sitting in car with some soldiers, and while еру driver is following the road 2 helies and one jet fly over you. So I got popping flares on trigger to work. But I actually can figure out how to make a jet fire a missile. The jet is modded su57(t50/PakFa). And the missile is Kh-38MAE (actually dont care what missile will be used, I can use R-77). 
Code on trigger: 

su57pil1 forceWeaponFire ["Kh-38MAE"]
It doesnt give any errors, just no missile is fired lol

Share this post


Link to post
Share on other sites

have you tested?
player addEventHandler ["firedMan", {params ["", "_weapon", "", "_mode"]; hint str [_weapon,_mode]; copyToClipboard str [_weapon,_mode]}];  // ["rhs_weap_fab500","rhs_weap_fab500"] or ["rhs_weap_kab500","LoalAltitude"]

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×