atom/movable/proc/HudTest()
var/obj/TEST/A = new()
A.screen_loc = "SOUTHWEST to NORTHEAST"
usr.client.screen += A
obj/TEST
icon='hlight.dmi'
icon_state = "green"
Code 2, which does not work at all:
atom/movable/proc/HudTest()
var/obj/TEST/A = new()
A.screen_loc = "12,12"
usr.client.screen += A
obj/TEST
icon='hlight.dmi'
icon_state = "green"
Problem description:
So, I can make the screen filled with a tiled screen object, but when I try to specify a single screen_loc coordinate, nothing happens at all.
I have tested, and it IS being added to the client.screen, it has the correct screen_loc, but it is not visible at all.
Any ideas why that might be?
EDIT:
Doh!
I forgot that my world.view is different from my players view to allow for zooming in/out, so 12,12 was simply off screen.