William Garrison
Member
I have a Collide event with the character that swaps the sprite of a flower to an animated sprite. Problem is when the character triggers that one flower then ALL the instances of that flower object change sprites. Can you point me in the right direction to fix it so just the one flower reacts?
CHARACTER
(collision event)
FLOWER
(create event)
(step event)
CHARACTER
(collision event)
Code:
oEnvWeeds.image_speed = 1;
(create event)
Code:
image_speed = 0;
Code:
if (image_index >= 10)
{
image_speed = 0;
sprite_index = sEnvWeedsDed;
}