Hello,
var/icon/I = new('hair.dmi')
Instead of hair.dmi i want to add my hair object
/hair/Hair
I tried replacing it with hair.dmi but that did not work.
Any ideas?
ID:269029
![]() Jan 26 2005, 8:13 am
|
|
I want to go like
var/icon/I = new(/obj/hair/Short) but that does not work..is there a way to fix it or another way? |
If you want the icon to be the same as that of some other object, you need to make a new instance of the object and access its icon.
var/obj/hair/Short/hair=new |
Dranzer_Solo wrote:
I want to go like I'm curious why you thought that would work. It's very clear in the reference that icon/New() takes an icon as an argument, not a type path. You'd have to find the icon that goes with that type path, therefore, to do this. Lummox JR |
i already have the hair deifined
hair but i still dont know how tp ut a type path like i said |
Lummox JR