Specifically, what i'm trying to accomplish is to have an item play an animation once, then when it reaches the final frame, be destroyed. So, i tried a peice of code like this:[codebox]
if image_index = 10
{
instance_destroy
}
[/codebox]
This seemed like it would work, but it did not. The animation simply kept repeating its animation endlessly.
Any ideas on how this can be done? On a post of mine yesterday about something similar someone referred me to a guide on making animation controller,s and while it was useful, i feel it is too complex for something this simple.
Edited by Clyde49, 15 November 2008 - 01:13 AM.











