Jump to content

Is "PathTo" method for IsoGameCharacter unavailable anymore?


Windfly

Recommended Posts

I try to use it on an IsoZombie  and it return "Tried to call nil" error. 

zed = createZombie(pLocation:getX(), pLocation:getY()+3, pLocation:getZ(), nil, 0, IsoDirections.S);
zed:PathTo(pLocation:getX(),pLocation:getY(), pLocation:getZ(), false);

If so, then what's the replacement?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...