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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now