Butters Posted September 14, 2017 Share Posted September 14, 2017 Hey, was wondering if any of you could provide details and key differences on webwlalking, walkpath and walk. Main concerns are: * Does walkPath handle obstacles * Does walkPath use less cpu and ram than webwalk Quote Link to comment Share on other sites More sharing options...
IHB Posted September 14, 2017 Share Posted September 14, 2017 1.no 2. yes Quote Link to comment Share on other sites More sharing options...
Chris Posted September 14, 2017 Share Posted September 14, 2017 resource wise walkevent > webwalk usage webwalkevent for long distance traveling walkevent for small distance features webwalk an handle obstacles and calculate the best path walkevent does not handle obstacles & you will need to provide it a path Quote Link to comment Share on other sites More sharing options...
Apaec Posted September 14, 2017 Share Posted September 14, 2017 walkPath does not handle obstacles walkPath does not generate a path so presumable less cpu/ram, although neither use a huge amount walkPath is more reliable as it is not required to generate a path Rule of thumb: Use walkPath where possible, use walk for very short distances (i'd say no more than 10 tiles to be safe), use webWalk if the place that you're walking from is unknown. 2 Quote Link to comment Share on other sites More sharing options...
Butters Posted September 15, 2017 Author Share Posted September 15, 2017 Thank you all. Any best practices to combat obstacles universally if walkPath would misclick or something (eg. enter a building whichs' doors get closed) ? Use DoorHandler or something similar? Quote Link to comment Share on other sites More sharing options...