Page 1 of 1

Attack weakest ennemy in range

Posted: 21 Sep 2018, 14:14
by Seigneur
Hi !
I'm currently struggling creating a decent sniper AI, and as said in the title, I would like it to :
"attack"/"weakest health+shield" and "at short range or at medium range or at long range"/"ennemy"

And I can't find a way to do this. Can you help me ?

Thanks for your help,
Seigneur.

Re: Attack weakest ennemy in range

Posted: 21 Sep 2018, 16:49
by pier4r
in your attack branch set:

action: attack
what: enemy
selector: lowest shield
filters: short, medium, long range from me

Re: Attack weakest ennemy in range

Posted: 21 Sep 2018, 19:53
by Seigneur
Thanks !
That was quite easy ^^