Hello,
I would like to know if there is a way to do the following. Find a random nearby cell from the players position free of enemies. In the specific cell find a spot with no objects and teleport the player there.
Sounds simple enough, but I can't figure out how to find a random cell nor how to check for a free spot on it.
Any hints?
Thanks in advance!