ID:273696
 
The player has a magic portal spell and i want the player to be able to pick 3 areas of his choice to teleport to how would i make some thing like this?
mob
var
Location1
Location2
Location3


verb
Pick_Location1()
usr.Location1 = usr.loc

Pick_Location2()
usr.Location2 = usr.loc

Pick_Location3()
usr.Location3 = usr.loc


Tele_Location1()
usr.Move(usr.Location1)

Tele_Location2()
usr.Move(usr.Location2)

Tele_Location3()
usr.Move(usr.Location3)


You could make it more complex but this the basic concept. Look up switch statements to do one verb with has a choice.
In response to Kyle_ZX
instead of them having to enter the location i was thing making more like a way point where they would have to be at that location and set so that they can come back to it later
In response to The ComEdiAn
I kind of get what you're saying but that sentence didn't make a lot sense. You need to explain further sorry.
In response to The ComEdiAn
He did do that Location1 = usr.loc

The user is AT that location.