• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

GlobalEvent Teleport's effects and text!

Lava Titan

Developer
Joined
Jul 25, 2009
Messages
1,571
Solutions
3
Reaction score
97
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