Oneda
Aspiring Spriter
Well, I would like to create a function that would be something like: teleportPlayerToMonster(monstername)
Is there anyone who could help me with it? Don't even know where to start from.
TFS 1.1 btw
Tried it making like this:
Using it in this script:
gives me this error:
Is there anyone who could help me with it? Don't even know where to start from.
TFS 1.1 btw
Tried it making like this:
Code:
function teleportOutTarrasque(cid)
local tarrasquePos = getCreaturePosition(getCreatureByName("Tarrasque"))
doTeleportThing(cid, tarrasquePos, TRUE)
end
Using it in this script:
Code:
function onDeath(cid, corpse, killer)
--addEvent(respawn, timeToRespawn * 1000, getCreaturePosition(cid))
teleportOutTarrasque(cid)
return true
end
gives me this error:
Last edited: