October 11, 20178 yr I need to walk a path that has multiple doors/ gates/ ladders that need to be opened/climbed. I tried webWalk but it sometimes gets stuck. I want to use walkPath but I have no idea how to handle the obstacles. Any help is appreciated.
October 11, 20178 yr 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 October 11, 20178 yr by whipz
October 11, 20178 yr 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
October 11, 20178 yr 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
October 11, 20178 yr Author 1 hour 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 I feared this will be the answer. Thanks Apa!
October 11, 20178 yr Set fixed areas and then interact with the object that's in your path whether it's a door or a ladder, and then check if you are successfully in the new area.
Create an account or sign in to comment