I have a trigger for an area, and I have 4 helos cycling waypoints in the area. When any one of them crosses into the trigger area, I'd like for it to drop a flare.
For the condition of the trigger, I have:
Code: Select all
this && (vehicle helo1_1 in thisList) || (vehicle helo1_2 in thisList) || (vehicle helo2_1 in thisList)
Code: Select all
flareZ = execVM "flare.sqf";
Code: Select all
"F_40mm_White" createVehicle [getPos this select 0, getPos this select 1,
getPos this select 2];
I suspect that it can't figure out which "this" I want to use to drop the flare.
I'm thinking of a case loop where I identify whatever helo is closest to the trigger or a marker. Does that make sense?