Grehy
Killroy
Using this script;
It is only sending the text, not effects. I don't know what was changed in 0.4 to make the effects not send, there are no errors in console so I'm not sure what to change. Any help would be appreciated, thanks
Code:
local text = {
--X pos,Y pos, Z pos, text
[1] = {pos = {1001,1490,7}, text = {"Full MP"}},
[2] = {pos = {1001,1491,7}, text = {"Full HP"}}
}
local effects = {
--X pos,Y pos, Z pos, text
[1] = {pos = {1095,1217,7}, effect = {13}},
[2] = {pos = {1096,1217,7}, effect = {12}}
}
function onThink(interval, lastExecution)
for _, area in pairs(text) do
doSendAnimatedText({x=area.pos[1],y=area.pos[2],z=area.pos[3]},area.text[1], math.random(01,255))
end
for _, area in pairs(effects) do
doSendMagicEffect({x=area.pos[1],y=area.pos[2],z=area.pos[3]},area.effect[1])
end
return TRUE
end
It is only sending the text, not effects. I don't know what was changed in 0.4 to make the effects not send, there are no errors in console so I'm not sure what to change. Any help would be appreciated, thanks