I have this NPC. When I face the NPC and do the talk verb on it, it gives me this runtime error...
runtime error: Cannot read null.screen
proc name: New (/obj/back/New)
usr: Unknown Person (/mob)
src: the back (/obj/back)
call stack:
the back (/obj/back): New(null)
SignupGuy (/mob/NPC/SignupGuy): textonscreenbackground(1, 1, 13, 5)
SignupGuy (/mob/NPC/SignupGuy): Talk()
runtime error: Cannot read null.screen
proc name: New (/obj/back/New)
runtime error: Cannot read null.screen
proc name: New (/obj/back/New)
(and so on)
I am using RaeKwon's Text Demo. Here is the NPC...
mob
NPC
icon = 'NPCs.dmi'
SignupGuy
icon_state = "SignupGuy"
verb/Talk()
set src in oview(2)
if(src.dir == NORTH)
if(usr.dir == SOUTH)
textonscreenbackground(1,1,13,5)//Sets up hwo big you want the background to be.
textonscreenTEXT(1.5,12,5,1.5,"Hey There. - RaeKwon")// Sets up where the text will go, from which x to y and how far down.
sleep(5)
usr.close_menu()
If somebody could help me fix this so there are no runtime errors and the text shows, it would be appreciated.
ID:261708
Jan 17 2003, 2:43 pm
|
|
usr.textonscreenTEXT(1.5,12,5,1.5,"Hey There. - RaeKwon")