![]() Aug 23 2011, 5:16 am
In response to Complex Robot
|
|
I should note though: It wont work if the icon state has to change. If you include icon_state= then it will lock in as that state only and it won't work properly. I think that was a recent change. If the icon_state of an image is left null then it assumes the icon states of the object it's attached to, much like an overlay. I'm learning more everyday!
|
Yeah, another thing. If you use an image with a null icon, it uses the icon of the base object as well.
Images and overlays sure are special. |
Bravo1 wrote:
post what you have with the replaced code and I'll see if I fucked it up somewhere (which is likely xD) mob/var/hair |
I dunno if it's a typo but it says var/obj/h, if that's the case it'd be h.icon and h.icon_state.
What type of errors were you getting? "undefined variable j.icon" ?? |
For goodness sake, just use the image() proc.
Your problem is because you copied and pasted his code a bunch of times without the proper knowledge of how to use it. |