• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ If ANY player step on 2 tiles (in any way) item teleports from X,Y,Z to newPosition

Fresh

Quack!
Joined
Oct 21, 2009
Messages
1,838
Solutions
18
Reaction score
616
Location
Poland
Hello there,
I need an simple script for TFS 1.X
Description:
If ANY player step on 2 tiles (in any way, players can step on Tile1 and Tile2 in different ways) they can not stay on tiles to launch script. To launch the teleport item players must only stay one time on Tile1 and Tile2 (one time for server save), after that item teleports from X,Y,Z to newPosition

I have no idea how I can make this script maybe onThink or something?
Anyone?

Thanks in advance,
F.
 
Spike sword quest ? :)

I guess you are looking for a global storage. As a fast approach you can use same script for both tiles, onStepIn/out: Set global storage X to +1, and if globar storage X = 2 then teleport the object.
 
Back
Top