The turret behavior has only 2 target modes: "Nearest" and "First in range". I need to have a way to pick RANDOM enemy (instance). Does anyone have a suggestion for this?
It's difficult to distinguish target from object type. Easiest way is to create your own turret, have it spawn bullets and set bullet angle to pick nearest enemy.
Develop games in your browser. Powerful, performant & highly capable.
Colorfish Don't add a target object to the turret. Instead, use "Acquire target" action. Pick a random enemy instance and then acquire it.
You can see something similar in this demo:
howtoconstructdemos.com/how-to-limit-the-angle-of-view-for-turret-behavior
Thanks "dop2000", that did the job :-)