• 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 Talking teleports and signs v 2.0

i use 0.3 how do i make it so a monster lookin thing comes out for my "teleports" portal? and says teleports if possible

like.. what are some more affects? for instance: CONST_ME_WATERCREATURE. what else is there?
 
Last edited:
The ripper's thread has been deleted.

However, I believe he modified it to make it work for TFS 0.2 more properly.

Here is his release: Credits = Mock for the base, Himad for the TFS Mystic Spirit support.
I decided to release this Script Coz i found many ppl were lookin for it.

Many Ppl Were searching for this script coz most of the talking tp scripts here dun work on verion 0.2

so i decided to release mine....

First GO to Talk action/scripts
and do lua file called "talking tp" and add this

Code:
 ---- Made by himad
local timespeed = 2000 -- 2000 = 2 seconds
local function loop()
doSendAnimatedText({x=000,y=000,z=0}, 'WELCOME', math.random(01,255))
doSendAnimatedText({x=000,y=000,z=0}, 'to', math.random(01,255))
doSendAnimatedText({x=000,y=000,z=0}, 'our', math.random(01,255))
doSendAnimatedText({x=000,y=000,z=0}, 'server', math.random(01,255))
--- Aqui poe as funçoes que ocorreram de 3 em 3 segundos.
addEvent(loop, timespeed, valore) -- N?o remova isso
end

--- isso abaixo e para iniciar o loop.
function onSay(cid, words, param)
valore = {cid = cid, topos = topos}
addEvent(loop, velocidade, valore)
end


Then Go to Talk action .xml
and add
Code:
<talkaction words="!tps" script="talking tp.lua"/>


now all u have to do is when u restart the server login and say !tps so that animation starts..

it works perfectlty with verion 0.2

i use it myself..
 
Here orginal script by Gelio:

globalevents/magic effects.lua
PHP:
-- Magic effects by Gelio
local pozycje = {
{pos = {x=997, y=993, z=7}, tekst = "TP Room"},
{pos = {x=1047, y=990, z=7}, tekst = "Temple"}
}
local kolor = TEXTCOLOR_RED   -- color
local efekt = {odEfektu = 10, doEfektu=10}  -- efect
function onThink(interval, lastExecution)
for i=1, #pozycje do
	local efektLosowy = math.random(efekt.odEfektu,efekt.doEfektu)
	doSendMagicEffect(pozycje[i].pos,efektLosowy)
	doSendAnimatedText(pozycje[i].pos,pozycje[i].tekst,kolor)
end
return TRUE
end


globalevents.xml
PHP:
<globalevent name="magicEffects" interval="3" script="magic effects.lua"/>
 
Last edited:
hmm it isnt working i get this
[06/07/2013 18:59:09] Lua Script Error: [TalkAction Interface]
[06/07/2013 18:59:09] in a timer event called from:
[06/07/2013 18:59:09] data/talkactions/scripts/talking tp.lua:eek:nSay
[06/07/2013 18:59:09] LuaScriptInterface::luaDoSendAnimatedText(). Deprecated function.
[06/07/2013 18:59:09] stack traceback:
[06/07/2013 18:59:09] [C]: in function 'doSendAnimatedText'
[06/07/2013 18:59:09] data/talkactions/scripts/talking tp.lua:7: in function <data/talkactions/scripts/talking tp.lua:3>
 
If your server is in a version 9.6+ I think, they removed the parameter "DoSendAnimatedText" só it isn't working
 
Back
Top