Get LocationID from $location[whatever]

bumcheekcity

Active member
Pretty much as it sounds. I can get the string name of the location by passing to_string($location[yourmum]), but is there a function to get the ID? to_int() doesn't do it.
 

jasonharper

Developer
Use to_url(), and parse the snarfblat= value out of it? Note that not every $location is actually an adventure.php location that has an ID.
 
Top