How do you ask the fox to shape shift into a peasant
You do that by using:
pet.shapeShift()
Andrei
my fox just does nothing when i type this
if pet.isReady("shape-shift"):
pet.shapeShift()
Are you sure that in your code that if even runs?
Andrei
Maybe in While True?
1 Like
oh i get the problem you need to put it inside of this
def onSpawn:
if pet.isReady("shapeshift"):
pet.shapeshift
else:
pass
then you do: pet.on("spawn", onSpawn)
Yes, but you hadd some mistakes. Look:
def onSpawn:
if pet.isReady("shape-shift"):
pet.shapeShift()
else:
pet.trick()
pet.on("spawn", onSpawn)
1 Like
oops thanks for fixing it
mistake not mostake(20chars)
3 Likes
Sorry.
3 Likes