ID:2822098
 
Is there any way to quickly change the color of an icon back and fourth? I wanted to make my mobs flash red when they are attacked, but I have about 30 odd mobs I need to do this for and I don't feel like manually going through and editing sprites so each of them has a single frame of red to flash when they are hit.

I was hoping there'd just be some sort of built in command BYOND had that'd make it easier?
You should look into animate. It can do a lot of neat things.
proc/FlashRed()
animate(src,color="red",time=1)
animate(color=null,time=1)
This is exactly what I was looking for. Thanks for the heads up.