ID:1292640
 
hey guys noobish programmer here. A quick need of help. If i have more than 1 icon that can be used for mob/Player, how do i let the game know that the mob selected from my character selection proc. After I implemented my character selection procc my game screen is black. Im guessing the game doesnt know what icon to use. Any advice?
If the entire screen is black it's more likely that you haven't played the player's mob on the map.

If you have more than one potential icon for mob/Player, you can set the icon of the player's mob/Player instance during character creation by changing it's 'icon' variable. See http://www.byond.com/docs/ref/info.html#/atom/var/icon
There's multiple ways you can perform this. If the icon relies on a variable, you need to use an if() statement. If it's simply at random, use the predefined pick() proc.

if() Ex:


pick() Ex:

Thedeadwarrior123, can you provide us with some of your code, so we know what you're doing, and potentially provide better help?
?In the proc are you setting a loc for the players mob, or have do you change the players eye at all?