would it be possible to have a way for the pathfinding functions to have a way to ignore specific objects, for example doors, they would walk towards and if possible through them as if the dense door didn't block the closest path?
Something like mob.group?
ID:2518165
![]() Oct 24 2019, 3:34 am
|
|
![]() Oct 24 2019, 3:36 am
|
|
Also, it'd be nice if instead of mob.group it was world.group being a associative list or just list and the mob.group would be a ID or number pointing to said group inside of world.group.
|
var savedata/SD = new |
Kozuma3 wrote:
would it be possible to have a way for the pathfinding functions to have a way to ignore specific objects, for example doors, they would walk towards and if possible through them as if the dense door didn't block the closest path? If you wrote your own pathfinding, then yes, but with built-in functions I'd think the only way is to make it so doors actually have 0 density. Then handle whether the door blocks a movable in Enter() or something. |