ID:143812
 
Code:
obj
overlay
SS3Transform
icon = 'aura_red.dmi'
icon_state = "SS3trans"
layer = MOB_LAYER+2
if(earnedSS3)
overlays += /obj/overlay/SS3Transform
spawn(16)
overlays -= /obj/overlay/SS3Transform


Problem description:When I use this verb the icon starts in a random spot in the icon. The icon is 16 frames long. It sometimes starts in the middle, end or beginning of the icon. How can I fix this or what other then overlay/underlay could I use to do this?

shouldn't that be wait?
You have to use the flick() proc if you want to play an animation from beginning to end. Otherwise, it'll just sync up with every other animation.