Hey everyone! -- I need a lil help here, how do I define the "thing" here?:
My guess is that onThink(cid) doesn't work in movements?
The error says that the "thing" cannot be found in "doTeleportThing". -- solved!
Anyways, my real intention is to make so you start a timer when you step on something and when you step out, the timer is stopped, but will continue on the time it was stopped, if you step in again.
When the timer has reached a specific time... something happens! :w00t:
I just experimented around some (above was an experiment, don't ask)
Code:
function onThink(cid)
doTeleportThing(cid, {x = 1019, y = 1055, z = 7})
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
end
My guess is that onThink(cid) doesn't work in movements?
The error says that the "thing" cannot be found in "doTeleportThing". -- solved!
Anyways, my real intention is to make so you start a timer when you step on something and when you step out, the timer is stopped, but will continue on the time it was stopped, if you step in again.
When the timer has reached a specific time... something happens! :w00t:
I just experimented around some (above was an experiment, don't ask)
Last edited: