"
[code=lua]function onStepIn(cid, item, position, fromPosition)
doSendMagicEffect(position, CONST_ME_TUTORIALARROW)
return TRUE
end
where should i put it?
and sry.!
Fail ;<
data/movements/scripts/scriptname.lua
function onThink(interval, lastExecution)
local texts =
{
["Tp Room"] = {x=816, y=477, z=7}
}
for text, pos in pairs(texts) do
doSendAnimatedText(pos, text, TEXTCOLOR_WHITE)
doSendMagicEffect(pos, CONST_ME_TUTORIALARROW)
end
return TRUE
end
<globalevent name="arrows" interval="7.1" event="script" value="arrows.lua"/>