- convert is the int or string to convert
Returns the location that matches name or id as specified.
Following example shows basic to_location operations.It gives the following output.
32 gives The Batrat and Ratbat Burrow. top floor gives The Castle in the Clouds in the Sky (Top Floor). poop deck gives The Poop Deck.
While direct casting via $location[ ] is case-insensitive and able to catch partial matches, this function has the added benefit of passing variables as a string parameter.