ID:269795
 
Well basically I want to create a boat. When you enter the boat you go to another map which is inside the boat. If you click on the steering wheel it gives you a top view of the boat on the first map and allows you to drive it. This is the code ive come up with:

client
Move(l, d)
if(usr.boatdrive)
step(usr.boatdrive,d)
else
return ..()
obj
wheel
icon_state = "wheel"
density = 1
Click()
if(src in oview(1))
usr.client.eye = usr.boat
usr.boatdrive = usr.boat

Well the boat varible is the boat you are in. The problem is when I drive the boat lumosity is still in effect. Im using the easy method of covering the map with areas which have 0 lumosity. Is there any way of giving the boat a lumosity. After I move a little distance until i can see the edge of the map then the screen goes black. Could someone help me.
Ok ive just worked out how to get this working. Ill post the new code if anyone wants to use it.

client
Move(l, d)
if(usr.boatdrive)
step(usr.boatdrive,d)
else
return ..()
obj
wheel
icon_state = "wheel"
density = 1
Click()
if(src in oview(1))
usr.client.eye = usr.boat
usr.boatdrive = usr.boat
usr.client.perspective = EYE_PERSPECTIVE

In response to ADT_CLONE
Erf, if I'm not mistaken, no usr in Move()