I seem to be having some issues with my icon states. Basically I click the macro to use a verb. The verb makes my icon_state change 3 times. The first changes it for 4.2 seconds, and then it changes it for another 6.4 seconds. Then changes it one more time for 3 seconds, then goes back to the default of "".
From experimenting with this, I have come to the assumption that when the world is run, a "loop" starts, and this loop associates with all icons. This loop is constantly cycling through, and restarting, and goes on infinitely until the world is shut down. The problem with this is that whenever you change an icon's icon_state, the icon_state just "jumps" into the "loop" wherever it is. Meaning, it does not always start the icon_state from the beginning. For the maximum effect I am trying to achieve in my game, I need these to work right. Is there any way to "reset" the "loop" when an icon_state is changed?
ID:156954
Jun 24 2010, 6:47 pm (Edited on Jun 24 2010, 6:54 pm)
|
|
Jun 25 2010, 6:36 pm
|
|
Bump?
|
Instead of changing the icon state have you tried using flick? It is a visual change that is supposed to last until the animation is complete so I would assume it starts the animation from the beginning, but as I have never tested this I cannot be sure.
|
In response to Cody123100
|
|
Cody123100 wrote:
Instead of changing the icon state have you tried using flick? It is a visual change that is supposed to last until the animation is complete so I would assume it starts the animation from the beginning, but as I have never tested this I cannot be sure. Yes, I know what flick is. I will try it. Thanks. |