I have a tower that i use turret behavior for its attacking system . I have a soldier that it has 2 frames. I code something like this :
On start of layout : Tower Add Turret Target "Soldier"
It's working fine but i have a little problem . I just want to add soldier frame 1 as target .
I also tried this way :
But it sometimes has problem .
Any solution ?