ID:616679
 
(See the best response by LordAndrew.)
I want to allow players to control the movement of an object through a verb, so I tried to refrence the object to be moved like this:
obj
x
verb
control()
set src in oview(1)
usr.object = src

mob/var
object

mob
verb
move_object()
usr.object.Move(usr.object,usr.object.dir)


This isn't the way they'll actually move, I just want to know how I would go about referencing the obj Move proc because the compiler won't recognize usr.object as a moveable atom. I had no idea how I'd accomplish this so I just took a stab at
Best response
mob/var/object is simply a variable with no typing. While it can contain an /obj, it isn't type-casted to respond as one.

obj
controllable_obj
New(mob/m)
m.object = src

mob
var/obj/object

Login()
..()

new /obj/controllable_obj(src)

verb
object_north()
if(!object) return

step(object, NORTH)
Can you explain exactly how you type casted to make this work?
He used mob/var/obj/object instead of your mob/var/object. If you don't specify it as the type /obj, it won't, as LordAndrew said, respond as one.
When I do this using usr.object.Move() works but when I replace move with step(EAST) or get_step it says undefined proc