walkingdragon
Advanced OT User
- Joined
- Sep 9, 2008
- Messages
- 3,620
- Reaction score
- 190
How do I make it so that pets can walk in PZ zone? (Using Jordanhenry's pet system)
edit your sources..
function summonPet(cid, pos)
local petuid = getPlayerPet(cid)
if isCreature(petuid) then
return false
end
if getTilePzInfo(getCreaturePosition(cid)) or getTilePzInfo(pos) or doTileQueryAdd(cid, pos) ~= 1 then
return false
end
local pet = doSummonCreature(PETS.PREFIX..PETS.IDENTIFICATION[getPlayerPetType(cid)].name, pos)
if isCreature(pet) then
Well thats just the part which makes it impossible to summon a pet somewhere where is no space or in a proctectionzone.
But pets/monsters can't go in pz anyway so it won't help you to change that.