var/obj/some_random_object
var/obj/o
o.pixel_x = 64
some_random_object.overlays = image(o.icon,o.icon_state)
//...wait, why isn't it offset by 64 pixels?
world << o.pixel_x //Value is indeed 64.
Problem description:
When using the method above, pixel_x does not seem to actually work and instead everything is on top of each other (at pixel_x 0, more or less) despite pixel_x having the correct values. I wonder, is there some special way that you have to do it to get it to work?