Issue with running multiple protection domes.

Deltarecon

New Member
Hey guys I run a dayz.st server and I am trying to get a protection script working with two domes. I do not get any errors on the server and the first dome in the scripting works but the second one does not. Wondering if anyone could take a look at this code and see if anything is wrong?

Code:
        };
    };
    class Sensors
    {
        items=3;
        class Item0
        {
            position[]={925,0,13615};
            a=200;
            b=200;
            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 have left the protection of the base."", ""PLAIN DOWN"", 3];";
        };
        class Item1
        {
            position[]={616,0.001,1768};
            a=200;
            b=200;
            rectangular=1;
            activationBy="WEST";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="dometwo";
            expCond="(vehicle player) in thislist;";
            expActiv="dometwo = [] execVM ""dometwo.sqf"";";
            expDesactiv="terminate dometwo; titleText [""You have left the protection of the base."", ""PLAIN DOWN"", 3];";
        };
    };                                         
    class Markers

Again the first dome works but the second does not. Any help would be greatly appreciated!

Thanks!
 
First thing I see is Items=3, should be 2 since you only have two sensors.

Secondly, not sure if it matters but in the 2nd sensor 616,0.001,1768 should be 616,0,1768 to the best of my knowledge. I don't know if that is a problem but mine all have '0' for the middle number, pretty sure that's the Z axis
 
First thing I see is Items=3, should be 2 since you only have two sensors.

Secondly, not sure if it matters but in the 2nd sensor 616,0.001,1768 should be 616,0,1768 to the best of my knowledge. I don't know if that is a problem but mine all have '0' for the middle number, pretty sure that's the Z axis


Yea the items=3 was just me messing around with it trying to get it to work. I have tried it the items=2 and 0 for the Z axis no dice either way. I'm completely stumped as to why it doesn't work. I don't see why the first would work but not the second one. I have also tried messing with the name of the dome several times.
 
if u sure the coordenates are ok (2d editor?) then check dometwo.sqf, maybe the problem is INSIDE that file.
 
I have 16 domes up and no issues, It appears you are missing brackets and some code


My mission.sqm :

class Item1
{
side="LOGIC";
class Vehicles
{
items=1;
class Item0
{
position[]={708.96582,35.858719,3533.1272};
id=50;
side="LOGIC";
vehicle="FunctionsManager";
leader=1;
lock="UNLOCKED";
skill=0.60000002;
};
};
};
};
class Sensors
{
items=16;
class Item0
{
position[]={1141.53,0,10025.1};
a=300;
b=300;
rectangular=1
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="dome";
expCond="(vehicle player) in thislist;";
expActiv="dome = [] execVM ""dome1.sqf"";";
expDesactiv="terminate dome; titleText [""Let's be careful out there"", ""PLAIN DOWN"", 3];";
class Effects
{
};
};
class Item1
{
position[]={7843,0,12616};
a=100;
b=100;
rectangular=1
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="dome";
expCond="(vehicle player) in thislist;";
expActiv="dome = [] execVM ""dome2.sqf"";";
expDesactiv="terminate dome; titleText [""Lets be careful out there"", ""PLAIN DOWN"", 3];";
class Effects
{
};
};
class Item2


Here is the final dome:

class Effects
{
};
};
class Item15
{
position[]={1075,0,2825};
a=150;
b=160;
rectangular=1
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="dome";
expCond="(vehicle player) in thislist;";
expActiv="dome = [] execVM ""dome16.sqf"";";
expDesactiv="terminate dome; titleText [""Lets be careful out there"", ""PLAIN DOWN"", 3];";
class Effects
{
};
};
};
class Markers
 
Back
Top