Hi,
Moved your topic here since it's nothing to do with actual config scripting, I believe
Anyway, the easiest way I thought of doing this would be to simply add a "FlareLauncher" to the helicopter, and have it physically shoot that. So, something like this.
heli1 addmagazine "FlareLauncherMag";
heli1 addweapon "FlareLauncher";
for "_i" from 0 to 7 do
{
heli1 fire "FlareLauncher";
sleep 1;
};
heli1 setdamage 0.8;
The name of the helicopter being heli1. That -should- work. What I found was that, for some inexplicable reason, whenever you make the helicopter shoot flares using a script, it also gives an automatic hint which seems to be the position of the helicopter at the moment of shooting. Some old debug code or something from BIS, I'd wager, but it's very annoying. I don't think it should show when inside a cutscene though, so maybe that's okay? I'm really not sure how to get rid of it (maybe a spam of empty hint ""'s would be enough?)
Anyway, good luck!
Wolfrug out.