Jump to content

Walking: How to handle doors/ gates/ ladders ?


Recommended Posts

Posted (edited)

Not sure, never used it but maybe getMap().canReach ?

if it cant reach an obstacle is in the way


So i suggest making a walkingevent with a break condition, using !getMap().canReach etc then when it breaks out search for x obstacle interact with it then start walking event again i guess, theres probs a better way but thats how I would start anyways

Edited by whipz
Posted
12 minutes ago, Apaec said:

WalkPath won't handle obstacles for you; your best bet if you want a reliable route is to split the main path into sub paths and walk those individually, handling obstacles between them manually. 

Apa

even with a walkingevent ? with a break condition set as !getMap().canReach ? 0.o

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...