function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
if item.itemid == [B]####[/B] then
local v, t = getThingPos(cid), 'Ssssss!'
return doSendAnimatedText(v,t,77)
end
end
<movevent type="StepIn" actionid="[B]ACTION_ID[/B]" event="script" value="[B]SCRIPT_NAME[/B].lua"/>
Code:local [COLOR="Red"]v, [/COLOR]= getThingPos(cid), 'Ssssss!'
Fail.
Code:local [COLOR="Navy"]v, t[/COLOR]= getThingPos(cid), 'Ssssss!'
My script doesn't prevent him from registering it with an actionIDI think actionid would be better, because maybe he has multiple tiles of the same id and only wants 1 specific tile to say something![]()
My script doesn't prevent him from registering it with an actionID![]()