Forum Jump :

Author Message

Posts: 34

Level: Member

Country: ba
In-game name:

#163898 Posted at 2014-05-06 03:48        
Ok whit this the trigger just fires immediately no matter if Im in the marked area or not.

So here is everything I put to trigger:

Axis A: 100 Axis B: 100
Not Present
{(_x in playableunits) and (isPlayer _x)} count thislist == 0
ON ACT.: "markerName" setMarkerColor "ColorRed"

another trigger:
CONDITION: markerColor "markerName" == "ColorRed"
ON ACT.: ["Mission Failed",false,30] call BIS_fnc_endMission

And whit this on MP LAN game it immediately fires the End mission trigger and the marker turns RED.

So what I am trying to do is if all Player and Playable units leave the marked area (non of them are inside) the End Mission trigger fires which says Mission Failed.

So what does this == 0 stand for ?? is it true or false or its just the equal of number of units inside the marked area.