here we go..
dome.sqf
// Dome
if ((getPlayerUID player) in [""uid""]) exitWith {
titleText ["Welcome to your dome", "PLAIN DOWN", 3];
};
// Everyone Else
titleText ["You are entering a restricted zone, please turn back now or face certain death...", "PLAIN DOWN", 3];
sleep 15;
titleText ["You have 1 minute to turn back...", "PLAIN DOWN", 3];
sleep 15;
titleText ["You have less than 45 seconds to leave..", "PLAIN DOWN", 3];
sleep 15;
titleText ["You have less than 30 seconds to leave.. We aren't kidding!", "PLAIN DOWN", 3];
removeAllWeapons player;
sleep 15;
titleText ["You have less than 15 seconds to leave (you're about to die!)...", "PLAIN DOWN", 3];
sleep 15;
titleText ["LAST WARNING , U MAY DIE!", "PLAIN DOWN", 3];
sleep 5;
player setDamage 1;
};
added this too my
mission.sqm
class Sensors
{
items=1;
class Item0
{
position[]={7053.4546,294,7718.9702};
a=500;
b=500;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="AdminBase";
expCond="(vehicle player) in thislist;";
expActiv="adminbase = [] execVM ""Scripts\adminbase.sqf"";";
expDesactiv="terminate adminbase; titleText [""You have left the Admin Base!"", ""PLAIN DOWN"", 3];";
class Effects
{
titleType="TEXT";
titleEffect="PLAIN DOWN";
title="You are entering a restricted zone.";
};
};
};
@testing :
mission.sqf
_this = createTrigger ["EmptyDetector", [12081.056, 12672.34, -159]];
_this setTriggerArea [450, 450, 0, false];
_this setTriggerActivation ["ANY", "PRESENT", true];
_this setTriggerTimeout [2, 4, 6, false];
siren = _this;
_this setSoundEffect ["$NONE$", "", "", "Sirene_EP1"];
_trigger_2 = _this;
created the trigger and wanted to add a siren (failed too)
also tried this tut >
https://board.nitrado.net/support-de-german-only/support-gameserver/dayz/37720/tutorial-admin-base/