Can anyone help me with random walker for scenes? The walker should explore until it finds the portal to the next level, and right now what I have bugs out when the next scene does not load or the client receives a scene not connected to any other scenes (even though it flags the scene as scouted if the bot was entered the scene).
tempDestPosition is the current destination the Char is heading towards.
privatepaste.com :: Paste ID 249957acd5 This is the border detection code (its failing here, returning unwalkable coords due to the next scene not loading)
privatepaste.com :: Paste ID 0c058188f9 This code is working correctly unless new scenes don't load (and it has to check for border).
EDIT: Is there anything in the scene files that shows if the scenes have links to other scenes?