ID:161873
 
Hmm can u help me with the exit verb i dont know ho wto get it so u can exit the ship because its always going to be in a different spot pls help. The ship is F302.

obj
F302
icon='F302.dmi'
density= 1
Click()
usr.loc = locate(11,69,5)
turf
Exit
icon='Exit.dmi'
Chrislee123 wrote:
Hmm can u help me with the exit verb i dont know ho wto get it so u can exit the ship because its always going to be in a different spot pls help. The ship is F302.

> obj
> F302
> icon='F302.dmi'
> density= 1
> Click()
> usr.loc = locate(11,69,5)
> turf
> Exit
> icon='Exit.dmi'
>


You would need the turf to be exited out itself.
turf
ShipFloor
icon = 'Floor.dmi'//yada yada
Exit(mob/M)
M.loc=locate() //wherever
I assume there's only one ship, in which case:

turf/Exit/Entered(var/mob/M)
if(ismob(M))
var/obj/F302/O = locate(/obj/F302)
M.loc = O.loc