• 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!

GlobalEvent Teleport's effects and text!

Lava Titan

Developer
Joined
Jul 25, 2009
Messages
1,529
Solutions
1
Reaction score
85
Location
Portugal
Tested on TFS 0.3.4... Please report bugs!

Code:
function onThink(interval, lastExecution)
local teleportpos1 = {x=xxxx, y=yyy, z=z, stackpos=1}
    doSendAnimatedText(teleportpos1, "text", math.random( 1, 65 ) )
    doSendMagicEffect(teleportpos1, math.random( 1, 50 ) )
 return TRUE
end

At Globalevents.xml add:

Code:
<globalevent name="Tp" interval="3" script="tp.lua"/>
picccccccccccccccccccccccc.jpg-> A teleport to somewere
attachment.php
-> a teleport to a hunting zone saying the level requested to hunt there
 
Last edited:
1. We have so much from these scripts here.
2. Looks like my script in with noob cooding and deleting some lines, <_<.
 
Back
Top