I have a location reference and I'd like to convert it into an integer so it can be stored as a Global variable, then at some later date retrieve the Global and convert it back into a Location reference that can be place in a location ref alias. (The quest gets stopped between times so I need to store the value permanently somewhere and be able to retrieve it)
Possible? I have a vague idea it might involve casting but I have no idea about how to do that. Any help would be appreciated.