Jump to content
Sign in to follow this  
whereisbeef

UnitPlayFiring not working

Recommended Posts

Hi there. In my mission, there are two helicopters that fly around and shoot things, at least they're supposed to. They fly around fine, but they don't shoot at all. Here's my script for one of the choppers:

fly=[[0,[29975.8,30003.6,50.8451],..(lot's more here);

shoot=[[318.776,"missiles_DAR"],...(lot's more here);

_sequence = [h1, fly] spawn BIS_fnc_UnitPlay;
[h1, shoot] spawn BIS_fnc_UnitPlayFiring;
waitUntil {scriptDone _sequence}; 

In my init I have this:

h1Data = compile preprocessFile "h1.sqf";

The choppers fly around with no issues, but they refuse to shoot. Any tips? Or is UnitPlayFiring not working right now?

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
Sign in to follow this  

×