ID:172775
 
Ok heres the code
usr.overlays += (icon('[Icon2]',
how do I set it up so that its loads the DMI file depending on the var?
like
Icon2 = 'asds.dmi'
I got it to work for the icons state not the dmi please help
When you use single quotes, you are giving the compiler to put in the resource file. You can't embed anthing. You can however set a variable to an icon, and just put
usr.overlays += icon(MyIcon,MyIconState)
Also, be sure you are using usr correctly.