area/Bank_Door
Enter(mob/O)
//save user coords here
O << "You have entered the bank"
O.loc = locate(5,5,2)
view() << "[O] has entered the bank"
return ..()
Alright, So I wanted to make a universal bank, where all the players could come and go. I wrote up this fairly simple enter proc (feel free to criticize)
My problem is , getting the player (O) back to the location they came from - Not all the same return location -
I need a refresher on temp saving players coords and then calling on them again to teleport the player back to them upon exiting.
Biggest problem for me is that the exit and enter are not going to be the same area (in the least) and I dont remember how to call something from another syntax...a little help?
Probaly a better way to do this.
But you would have to set a mob var as a list and set three co-ords into it(you can change it later by just using = list(1,2,3)). Then you use the list to find the location it refers to and send the player there.