luke smith
New Member
Hey guys, so basically i have started using the protective dome script on my server on donator bases, and parts of the map i don't want people to have access to, i got the script from here - http://dayz.st/w/Protected_Dome however it only seems to let me add one. I will try and add the second dome but it just won't work. This is what the code looks like for the one dome (that works) -
class Sensors
{
items=1;
class Item0
{
position[]={48.675,0.001,1588.4};
a=130;
b=97;
rectangular=1
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="dome";
expCond="(vehicle player) in thislist;";
expActiv="dome = [] execVM ""dome.sqf"";";
expDesactiv="terminate dome; titleText [""You've left the dome"", ""PLAIN DOWN"", 3];";
class Effects
{
};
};
};
Then this is what the code looks like when i try and add both domes in -
class Sensors
{
items=2;
class Item0
{
position[]={48.675,0.001,1588.4};
a=130;
b=97;
rectangular=1
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="dome";
expCond="(vehicle player) in thislist;";
expActiv="dome = [] execVM ""dome.sqf"";";
expDesactiv="terminate dome; titleText [""You've left the dome"", ""PLAIN DOWN"", 3];";
class Effects
{
class Item1
{
position[]={41.675,0.008,1688.4};
a=130;
b=97;
rectangular=1
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="dome2";
expCond="(vehicle player) in thislist;";
expActiv="dome = [] execVM ""dome2.sqf"";";
expDesactiv="terminate dome2; titleText [""You've left the dome"", ""PLAIN DOWN"", 3];";
class Effects
{
};
};
};
I don't know what i am doing wrong, also sometimes i get stuck on the wait for host screen when i try adding the second dome.
Help will be very much appreciated thanks
class Sensors
{
items=1;
class Item0
{
position[]={48.675,0.001,1588.4};
a=130;
b=97;
rectangular=1
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="dome";
expCond="(vehicle player) in thislist;";
expActiv="dome = [] execVM ""dome.sqf"";";
expDesactiv="terminate dome; titleText [""You've left the dome"", ""PLAIN DOWN"", 3];";
class Effects
{
};
};
};
Then this is what the code looks like when i try and add both domes in -
class Sensors
{
items=2;
class Item0
{
position[]={48.675,0.001,1588.4};
a=130;
b=97;
rectangular=1
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="dome";
expCond="(vehicle player) in thislist;";
expActiv="dome = [] execVM ""dome.sqf"";";
expDesactiv="terminate dome; titleText [""You've left the dome"", ""PLAIN DOWN"", 3];";
class Effects
{
class Item1
{
position[]={41.675,0.008,1688.4};
a=130;
b=97;
rectangular=1
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="dome2";
expCond="(vehicle player) in thislist;";
expActiv="dome = [] execVM ""dome2.sqf"";";
expDesactiv="terminate dome2; titleText [""You've left the dome"", ""PLAIN DOWN"", 3];";
class Effects
{
};
};
};
I don't know what i am doing wrong, also sometimes i get stuck on the wait for host screen when i try adding the second dome.
Help will be very much appreciated thanks