Hi, I've made a script which changes a one creature to other. And problem is the creature appears next to target. I want to do that new monster appears in place of disappearing target.
My event looks like this:
This code is for target, not a player. So script first creates "Boar" next to target and in this moment target disappears. How to save target position and put there "Boar"? Help
PS. I use TFS 1.2
My event looks like this:
Code:
function change(cid, var)
doSummonCreature("Boar", getCreaturePosition(cid))
doRemoveCreature(cid)
end
This code is for target, not a player. So script first creates "Boar" next to target and in this moment target disappears. How to save target position and put there "Boar"? Help
PS. I use TFS 1.2
Last edited: