ygiggly Posted March 1, 2015 Share Posted March 1, 2015 For my script my path consists of stopping and paying a fare to continue the path, How would one simply create multiple paths, in example: path to pay fare, pay it, then to the bank area Quote Link to comment Share on other sites More sharing options...
Extreme Scripts Posted March 1, 2015 Share Posted March 1, 2015 Position[] pathToBank = new Position[]{new Position(pos1), new Position(po2)}; Position[] pathToMining = new Position[]{new Position(pos3), new Position(po4)}; Paying the fare isn't handled as a path, that's an obstacle you must overcome, one way you could do it (very bad practice but works): Area payFare = new Area(COORDS_OF_FARE_AREA); if(payFare.contains(myPlayer())){ payFare(); } Quote Link to comment Share on other sites More sharing options...