So, for some reason, icon_states aren't working for mobs. Objs and turfs work fine, but it does not seem to allow anything other than a null icon_state for mobs - If all my states are named, it shows no icon, but it will show an unnamed state, regardless of the fact that I've defined it to use a specific state. Any ideas as to why?
|
![]() Apr 8 2013, 1:10 pm
|
|
Perhaps you aren't defining them properly. Mind Posting a peace of your coding(which involves icon_state being applied of course.) ?
|
Not doing anything weird with it, at the moment, but I'm planning on having icons for 5 degree intervals of direction, so I need to get this working again.
mob Note, when I tried this (below), and placed the objs on the map, it worked without any issues. With mobs placed directly on the map, no-go. obj |
They are exactly as spelt. red. blue. green. That was the very first thing I checked. When I changed the tree from a mob tree to an obj tree, it magically worked. When I switched it back to mob, it stopped working again.
|
I don't see anything wrong. Are those the actual iconstates you're using in the icon file?
|
Yeah. I don't see anything wrong either. I'm not posting this because I've been playing with BYOND for 2 weeks, and have no idea what I'm doing. I've been playing around with BYOND for 8 years, on and off, and I've never encountered this issue before. All the more irritating because it is the most basic of procedures out there.
|
Is that the only code you have referring to the mob? Perhaps something you are doing elsewhere is causing this.
|