Hello everyone.
I think I overdid myself today and now can't even see the most basic things I need to see. I checked the forums and tutorials and some capx's, but still no find.
Here is the thing: I want my turrets to play a "shutdown" animation when player moves a set distance away from them, ie the turret loses it's target. I'm reading everywhere a system.distance expression but I can't find a way to implement the desired effect.
The reverse is easy, when target acquired I play the "powering up" animation. But there is no set "on target lost" condition for turrets.
Help ? :)