System ... compare 2 values ... sprite.timer.CurrentTime("tag") ... > .. 30
99Instances2Go
Thanks again, still stuggling to get the target linked to the enemy by UID to only change that one target at the moment it appears to be changing not all targets but some.
My logic (although clearly flawed is)
System->enemy,timer.CurrentTime("overlaptimer") >5 (just to see it happen sooner for testing purposes) <then> ...
.... for each enemy (I did try the logic first without the for each as well) <then> ......
Is Food overlapping target .....
is Food TARGET (variable for UID) = target.UID
is target.Animationframe = 0 (default frame before any changes are made)
If all above are true then change target,animationFrame = 1
To try and cover all basis I even added the if enemy.overlapstarted boolen is true
I then want to go on to state a similar logic but if the animination frame is already 1 change it to 2.
Not sure why it is changing only some of the targets to a different frame though
** EDIT **
I think I have sorted it but need to check a few things just in case, what I have done and it makes sense now, is put the for each enemy at the top of the logic and then check the time that has passed
Thanks
TimCS