This is what I use
M.overlays+=image(icon='inventory/psi.dmi',icon_state="lifeupa")
sleep(20)
M.overlays-=image(icon='inventory/psi.dmi',icon_state="lifeupa"
See what I mean by flick?
ID:163054
![]() Oct 19 2007, 12:54 pm
|
|
Is it possible to flick an overlay on a player this would help a lot in reducing all my sleep(??)'s
This is what I use See what I mean by flick? |
Then the above code will behave properly. You can then increase sleep(20) to the real frames your icon uses + 5 (i.e. if your movie has 10 frames, and one of them has a delay of "2", it means you are using 11 frames. 11 + 5 = 16) to be sure it was displayed correctly.
-- Data