i suppose for some reason your
AdminBase = [] execVM ""Scripts\adminbase.sqf"";
has triggered more then one time but only one instance was terminated by leaving the trigger
you can try to avoid this by set a terminate before script call
terminate AdminBase; AdminBase = [] execVM...
if you have one script for each 'dome' you can deklare AllowedPlayerArray as local variable for this running script
rename AllowedPlayerArray to _allowedPlayerArray , variable with _ at the beginning are script local, to be on the safe side add this to line 1 off the scripts
private...
hm... you are using the words 'player id' und 'uid', thats a bit confusing
the UID is the unique player id based on GUID/GameKey and is a string that can also contain letters/characters (for example steam accounts can have 'AX' at there UID end)
the player id can be the ID of an char in the...
hm... i wonder how your trigger works without defining type = "SWITCH"; ....:eek:
redefining the variable 'AdminBase' could make some trouble too because you defined the triggername 'AdminBase' and the script as 'AdminBase' so the trigger object will be overwritten
please change the script...
your code would be helpfull ^^
triggers have one big problem, they fire only one time on enter and on leave
if you ware able to cross the border without activating the trigger (coz of lag or whatever) , you are safe in it
thats why a trigger isnt the best solution for a safe base
but its not...
sorry that i have to say that... but if you dont can read and understand vsb2 you should start with the basics :/
copy/paste is not a permanent solution...
waituntil{player == player};
waitUntil {!isNil "bis_fnc_init"};
AllowedPlayersArray = ["PLAYERUID1","PLAYERUID2"];
_condition =...
_setNewPos = [getposATL _unit,_directionto,(_radius + 1),true] call FindPosition; //Custom Script to find the Position outside the Zone in direction of the entering Object
this line will not work for you because 'FindPosition' is my precompiled custom script (as i wrote in my comment...)
thats...
you can add a marker at the same position with same size
plus
add _this setTriggerType "SWITCH";
to your code
plus
_this setTriggerStatements [_condition, _activation, _deactivation];
is missing
_condition, _activation, _deactivation are the variables that contain the code
for example...
exitWith{ .... is ok and you used it correct bur your UID array is wrong, dont use -> "" at the beginning and the end, it has to look like this
["83401862","228290","123360902","104075206","3911810","92610118"]
plus
the last " }; " is not needed
sounds like an error in your dome.sqf, maybe you can post the code here ? the given line isnt much reliable, most times the error is found in the next scope after the given line
greetings,
_object allowDamage false;
this needs to be executed on each machine
try something like this
player setVehicleInit "this allowDamage false";
processInitCommands;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.