How to edit effects i got this effects working but when i try to add one it doesn't work i don't know and even what's is working not work !
My script
function onThink(interval, lastExecution)
local texts =
{
-- Nova
["Trainers"] = {{x=32372, y=32236, z=7}, CONST_ME_YELLOW_RINGS, TEXTCOLOR_DARKYELLOW},
["Trainers "] = {{x=32350, y=32223, z=7}, CONST_ME_YELLOW_RINGS, TEXTCOLOR_DARKYELLOW},
["Games!"] = {{x=32366, y=32236, z=7}, CONST_ME_MAGIC_BLUE, TEXTCOLOR_GREEN}
}
for text, param in pairs(texts) do
doSendAnimatedText(param[1], text, param[3])
doSendMagicEffect(param[1], param[2])
end
return TRUE
end
My script
function onThink(interval, lastExecution)
local texts =
{
-- Nova
["Trainers"] = {{x=32372, y=32236, z=7}, CONST_ME_YELLOW_RINGS, TEXTCOLOR_DARKYELLOW},
["Trainers "] = {{x=32350, y=32223, z=7}, CONST_ME_YELLOW_RINGS, TEXTCOLOR_DARKYELLOW},
["Games!"] = {{x=32366, y=32236, z=7}, CONST_ME_MAGIC_BLUE, TEXTCOLOR_GREEN}
}
for text, param in pairs(texts) do
doSendAnimatedText(param[1], text, param[3])
doSendMagicEffect(param[1], param[2])
end
return TRUE
end