samuelsami
New Member
- Joined
- Oct 27, 2010
- Messages
- 77
- Reaction score
- 1
A MEMBER HERE HAVE THE HUNTING ASSISTANCE SYSTEM? (PET SYSTEM)
need config this .....
-- Update following
selfFollow(owner)
-- On floor change
local myPos = getCreaturePosition(getNpcCid())
local ownerPos = getCreaturePosition(owner)
if (myPos.z ~= ownerPos.z) then
doSendMagicEffect(myPos, CONST_ME_POFF)
doTeleportThing(getNpcCid(), ownerPos)
doSendMagicEffect(ownerPos, CONST_ME_TELEPORT)
end
the pet need not follow me ....
I need what the pet are on me and when i walk 1 step the pet teleport on me or walk on me...
easy or hard? xd
need config this .....
-- Update following
selfFollow(owner)
-- On floor change
local myPos = getCreaturePosition(getNpcCid())
local ownerPos = getCreaturePosition(owner)
if (myPos.z ~= ownerPos.z) then
doSendMagicEffect(myPos, CONST_ME_POFF)
doTeleportThing(getNpcCid(), ownerPos)
doSendMagicEffect(ownerPos, CONST_ME_TELEPORT)
end
the pet need not follow me ....
I need what the pet are on me and when i walk 1 step the pet teleport on me or walk on me...
easy or hard? xd