client.screen+=new/obj/newchar/subclassinfo
this causes the screen to go black, whats happening?
Jun 1 2018, 10:26 am
|
|
Without more info, nobody can answer that. How is that object defined?
|
obj/newchar
name="" layer=5 arrow icon='clanscreen.dmi' icon_state="arrow" subclassinfo icon='clanscreen1.dmi' screen_loc="111,6" |
That screen_loc is waaaay out of bounds for a normal map, you're probably expanding your map so far that you see nothing but empty space.
"111,6" Will place the item 6 tiles up and *111* to the left of the bottom corner of your screen. |
In response to Nadrew
|
|
thank you! for some reason i was thinking that the screen_loc is where the object would be located on the map. Changing this fixed my problem, thank you again
|