ID:166603
 
I need help with overlays. I know that usr.overlays += '.dmi'
is how you add overlays but how do you change the icon state with an overlay?
You can't, but you can always add an image object to the overlays if you want to specify an icon state of an overlay.

src.overlays += image('icon_file.dmi', icon_state="icon_state_name")


~~> Unknown Person
In response to Unknown Person
Ok thanks for your help