ID:154740
 
I want to make an obj look to NORTH when it is in a list.

//stuff
for(var/obj/M in usr.contents)
M.dir=NORTH
//stuff

for some reason this does nothing, can someone tell me what is wrong?
That looks like it should work to me.

Try adding a debug message before you change the direction of the objects - so just above the M.dir = NORTH line:

world << "object: [m]"


Is this message appearing in game? Is it listing the items you are expecting?
What proc is that code part of?

You can use the object's Entered() or Move() proc to set its direction when it is moved:

mob
Entered(obj/o)
o.dir = NORTH