Hello scripters,
pls somebody help me ? need script this
I have plate on which is is teleport spawned for 1sec when plate is activated. What I need to do, is teleport each time RANDOMLY teleport to one of three given locations.
SOLVED - Random script help pls
SOLVED - Random script help pls
Last edited by Drakkan on Tue Jan 15, 2013 11:41 pm, edited 1 time in total.
-
Ixnatifual
Re: Random script help pls
Place 3 teleporters on the same spot, one for each location. Call math.random(1,3) to determine which teleporter to activate. Also activate a timer than deactivates all three after 1 second.
Re: Random script help pls
Call math.random(1,3) thats it, thanks a lotIxnatifual wrote:Place 3 teleporters on the same spot, one for each location. Call math.random(1,3) to determine which teleporter to activate. Also activate a timer than deactivates all three after 1 second.