Help and Discussion for Creating Safe-Zones begins here...
You can just paste it in.
Maybe you can use this thread to locate where the sensors thing should be
.
Here is my complete Sensors part that you have a complete example (item 0-6 are not releated to safezones)
You should put yours after or before the complete Marker block. Hope that helps
Regards kikyou2
You're welcome.Thanks for this, my issue is my mission.sqm doesn't have a sensor class in it. Do I have to go into the 2d editor to get it?
You can just paste it in.
Maybe you can use this thread to locate where the sensors thing should be
Here is my complete Sensors part that you have a complete example (item 0-6 are not releated to safezones)
Code:
class Sensors
{
items=10;
class Item0
{
position[]={4053.8501,364.76645,11668.645};
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="zonebash";
expCond="(player distance zonebash) < 50;";
expActiv="TitleText[""Now entering trader city Bash"",""PLAIN DOWN""]; placevault = false;";
expDesactiv="TitleText[""Now leaving trader city Bash"",""PLAIN DOWN""]; placevault = true;";
class Effects
{
soundDet="arabian_market_1";
};
};
class Item1
{
position[]={11463.747,317.3078,11349.89};
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="zoneklen";
expCond="(player distance zoneklen) < 50;";
expActiv="TitleText[""Now entering trader city Klen"",""PLAIN DOWN""]; placevault = false;";
expDesactiv="TitleText[""Now leaving trader city Klen"",""PLAIN DOWN""]; placevault = true;";
class Effects
{
soundDet="arabian_market_1";
};
};
class Item2
{
position[]={6344.8081,304.99023,7806.7598};
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="zonestary";
expCond="(player distance zonestary) < 50;";
expActiv="TitleText[""Now entering trader city Stary"",""PLAIN DOWN""]; placevault = false;";
expDesactiv="TitleText[""Now leaving trader city Stary"",""PLAIN DOWN""]; placevault = true;";
class Effects
{
soundDet="arabian_market_1";
};
};
class Item3
{
position[]={6679.2104,29.542515,2302.5156};
a=10;
b=16;
angle=72.795197;
rectangular=1;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
expActiv="thisTrigger = [player,75,true,(getPosATL player)] spawn player_alertZombies;";
class Effects
{
soundDet="Sirene_EP1";
};
};
class Item4
{
position[]={10456.856,18.796356,2255.2844};
a=10;
b=16;
angle=-34.950001;
rectangular=1;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
expActiv="thisTrigger = [player,75,true,(getPosATL player)] spawn player_alertZombies;";
class Effects
{
soundDet="Sirene_EP1";
};
};
class Item5
{
position[]={7068.6538,317.43521,7727.1855};
a=10;
b=15;
angle=-18.1738;
rectangular=1;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
expActiv="thisTrigger = [player,75,true,(getPosATL player)] spawn player_alertZombies;";
class Effects
{
soundDet="Sirene_EP1";
};
};
class Item6
{
position[]={3055.3408,320.88217,7854.6934};
a=10;
b=16;
angle=305;
rectangular=1;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
expActiv="thisTrigger = [player,75,true,(getPosATL player)] spawn player_alertZombies;";
class Effects
{
soundDet="Sirene_EP1";
};
};
class Item7
{
position[]={4069.8455,365.19922,11661.84};
a=140;
b=140;
activationBy="ANY";
repeating=1;
interruptable=1;
age="UNKNOWN";
text="Basis_West";
name="Basis_West";
expActiv="if (playerSide == WEST) then {[Basis_West] execVM ""safezone.sqf""};";
class Effects
{
};
};
class Item8
{
position[]={11469.787,317.32358,11356.751};
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""};";
class Effects
{
};
};
class Item9
{
position[]={6345.6113,306.13721,7808.5073};
a=140;
b=140;
activationBy="ANY";
repeating=1;
interruptable=1;
age="UNKNOWN";
text="Basis_South";
name="Basis_South";
expActiv="if (playerSide == WEST) then {[Basis_South] execVM ""safezone.sqf""};";
class Effects
{
};
};
};
};
You should put yours after or before the complete Marker block. Hope that helps
Regards kikyou2