How do I set an overlay as an icon state like:
mob
do_something_that_makes_you_get_an_overlay()
src.overlay += 'overlay.dmi',"Something"
See like the overlay.dmi is there icon oviously then something is the icon state.
How would I do that?
ID:169668
May 14 2005, 3:48 pm
|
|
May 14 2005, 4:12 pm
|
|
I think icon() would work for this. Look it up(F1).
|
Next time use it in DM.
You can set it as a object mob/verb/Get_Overlay() |
In response to Artekia
|
|
Sorry, let me make it more clear :/
obj/overlay{icon='icon.dmi';icon_state="X"} = obj |
In response to Jay1
|
|
I must say this, but if you were to log out, without any other support with client/Del(), those overlays would be perminant.
|