rox666
Active Member
Hello, as many people asked me how to.. "globalevents" with text and magic effect.. i gonna explain it today here out :
First go data/globalevents/script
Name Something "spawns.lua"
this is an script :
after you do that then go back in data/globalevents then enter globalevents.xml
put this
What does Interval means? its like exhaustion if its 1 it will show every 1 sec if you put 2 then 2 sec exhausted or more.. so good luck for people who dont know to edit this. Its so really easy i explained enough i hope so.. if this helped to someone rep++ if possible. kkthxbye
First go data/globalevents/script
Name Something "spawns.lua"
this is an script :
Lua:
function onThink(interval, lastExecution)
local pos = {x=, y= z=} <- positions
local text = "Easy" <- a text
local effect = 35 <- this is effect like "blue" red or something
doSendAnimatedText(pos, text, effect)
doSendMagicEffect(pos, 47)<- magic effects
doSendMagicEffect(pos, 53)<- magic effects
return TRUE
end
after you do that then go back in data/globalevents then enter globalevents.xml
put this
XML:
<globalevent name="spawns" interval="1" event="script" value="spawns.lua"/>
What does Interval means? its like exhaustion if its 1 it will show every 1 sec if you put 2 then 2 sec exhausted or more.. so good luck for people who dont know to edit this. Its so really easy i explained enough i hope so.. if this helped to someone rep++ if possible. kkthxbye