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?
ID:154740
Jan 3 2012, 8:15 am
|
|
Try adding a debug message before you change the direction of the objects - so just above the M.dir = NORTH line:
Is this message appearing in game? Is it listing the items you are expecting?