ID:140543
 
Code:
    part9
icon_state = "11"
layer = 50

New(client/C)
src.pixel_y -= 30
screen_loc="1,4"
C.screen+=src
client
New()
..()
new /obj/newhuds/part9(src)


Problem description:

The object does not change its pixel_y or pixel_x... any help please:P ?
Screen objects do not use pixel_x or pixel_y. There is a special format for screen_loc for pixel offsets.
In response to Garthor (#1)
screen loc only places it by 32's what if i want it to be very specific like when using pixel_y we can put pixel_y -= 12 but when im using screen_loc then its either "1,2" which is going up by 32's
In response to Agrey123 (#2)
In response to Garthor (#3)
i read it and i still dont understand how i am suppose to move it to a specific spot, can you just show me the line to get me started?
In response to Agrey123 (#4)
Second and third from last paragraphs of the Reference entry. It's pretty damn explicit.
In response to Garthor (#5)
yeah i found it lol i didnt read ur reply closely i didnt see where it said "pixel offsets" now i got it to work, thx