I have been trying to figure out the best and fastest method of adding multistory entity navigation to the a.i system, i.e. if a sound like an explosion is created in container 1(first floor) and an entity is in container 0(ground floor) how could the entity find the nearest staircase leading them from their current floor to the destination floor.
The best plan I can think of is to make a set of way-points on the corners of the staircase and mark these as connecting container0->container1 and vice-versa, then just set the entities destination as these way-points until they reach their target floor/container.
Does anyone else have any ideas of a better way to do this?
I know the voices aren't real, but they have good ideas!