How can i know in fn_selfActions.sqf if a player is in a Safezone ?
In my mission.sqm file i got this to recognize safezones.
class Item3
{
position[]={11463.747,317.3078,11349.89};
a=140;
b=140;
activationBy="ANY";
repeating=1;
interruptable=1;
age="UNKNOWN";
text="Basis_East";
name="Basis_East";
expActiv="if (playerSide == WEST) then {[Basis_East] execVM ""safezone.sqf""};inSafeZone = true;";
expDesactiv="inSafeZone = false;";
class Effects
{
};
};
And then in the safezone.sqf i can check :
if (isNil "inSafezone") then {
inSafezone = false;
};
But inSafezone is not recognized in selfActions, so i cant use it in an if statement.

