I want to convert this simple dome script from a kill dome to a teleport dome.
I know setDamage 1 is to kill the player, what would I add instead to have someone teleported out instead?
if ((getPlayerUID player) in ["0" , "0" , "0"]) exitWith {
titleText ["Welcome Home!", "PLAIN DOWN", 3]; //or,\\ titleText [format ["Welcome, %1", name player], "PLAIN DOWN"]; // welcomes you with your name
};
// What happens if unauthorized players get into the dome
titleText ["You're entering a restricted area, please leave.", "PLAIN DOWN", 3];
sleep 5;
titleText ["Last warning, you have 5 seconds to leave!", "PLAIN DOWN", 3];
sleep 5;
titleText ["Bang! You should've left...", "PLAIN DOWN", 3];
sleep 2;
player setDamage 1;
Question
Magz
I want to convert this simple dome script from a kill dome to a teleport dome.
I know setDamage 1 is to kill the player, what would I add instead to have someone teleported out instead?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now