mob/proc/Name_hud()
var/obj/char_back/a = new
screen_loc = "8,12"
client.screen += a
var/obj/char_back/b = new
b.screen_loc = "9,12"
client.screen += b
obj/char_back
icon='back.dmi'
And these are the errors I'm getting.
runtime error: Cannot read null.screen
proc name: New (/obj/New)
usr: Troglodyte (/mob)
src: the char back (/obj/char_back)
call stack:
the char back (/obj/char_back): New(null)
Troglodyte (/mob): Name hud()
Troglodyte (/mob): CreateCharacter()
Troglodyte (/mob): Pick Name()
runtime error: Cannot read null.screen
proc name: New (/obj/New)
usr: Troglodyte (/mob)
src: the char back (/obj/char_back)
call stack:
the char back (/obj/char_back): New(null)
Troglodyte (/mob): Name hud()
Troglodyte (/mob): CreateCharacter()
Troglodyte (/mob): Pick Name()
Anyone have any ideas?