Topknot001
New Member
Well for one thing I found out on my own and not sure but I also had a problem in that when you are naming your Safe Zone with (numbers) in their names they don't register:
Change:
Rename Like Such:
Worked for me and I have over 40 "zones" for player areas. Also not sure but you might need an "Exit" call for when they leave:
You could call upon another SQF for the exit to remove the attributes you applied when they entered.

Change:
Code:
class Sensors
{
items=16;
class Item0
{
position[]={12936.7,0,12779.8};
a=50;
b=50;
activationBy="ANY";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="safezone1";
expCond="(vehicle player) in thislist;";
expActiv="safezone1 = [] execVM ""safezone1.sqf"";";
class Effects
{
};
};
class Item1
{
position[]={9626.4,0,13500.4};
a=50;
b=50;
activationBy="ANY";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="safezone2";
expCond="(vehicle player) in thislist;";
expActiv="safezone2 = [] execVM ""safezone2.sqf"";";
class Effects
{
};
};
Rename Like Such:
Code:
class Sensors
{
items=16;
class Item0
{
position[]={12936.7,0,12779.8};
a=50;
b=50;
activationBy="ANY";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="safezoneone";
expCond="(vehicle player) in thislist;";
expActiv="safezoneone = [] execVM ""safezone1.sqf"";";
class Effects
{
};
};
class Item1
{
position[]={9626.4,0,13500.4};
a=50;
b=50;
activationBy="ANY";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="safezonetwo";
expCond="(vehicle player) in thislist;";
expActiv="safezonetwo = [] execVM ""safezone2.sqf"";";
class Effects
{
};
};
Worked for me and I have over 40 "zones" for player areas. Also not sure but you might need an "Exit" call for when they leave:
Code:
expCond="(vehicle player) in thislist;";
expActiv="safezoneone = [] execVM ""safezone1.sqf"";";
expDesactiv="terminate safezoneone; titleText [""You've left the Safe Zone"", ""PLAIN DOWN"", 3];";
You could call upon another SQF for the exit to remove the attributes you applied when they entered.