SolvedScripting: Teleport Random

Posts 1–4 of 4 · Page 1 of 1
Scripting: Teleport Random
Hello.
I want to make a script ho teleports me on Random Positions
like as an example:
Code:
_posexXx = [" "] call BIS_fnc_selectRandom;
player setpos _posexXx;
So, how an can i make an random Teleport?
How can i make the teleport more times? like 20 times all 4 seconds (sleep 4; )?
Quote Originally Posted by SwizixD View Post
Hello.
I want to make a script ho teleports me on Random Positions
like as an example:
Code:
_posexXx = [" "] call BIS_fnc_selectRandom;
player setpos _posexXx;
So, how an can i make an random Teleport?
How can i make the teleport more times? like 20 times all 4 seconds (sleep 4; )?
player setposatl [random(10000),random(10000),0];
Thank you Lystic!
Quote Originally Posted by SwizixD View Post
Thank you Lystic!
Believe this is solved.
/Closed
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us