Question About AI Attacking Someone with the Highest Stat
edited May 2019
I was wondering how I could get my Battle AI to attack the person with the highest number of a certain stat, in my case Threat. Is there a way I can do that?
Post edited by Dolorre on
You can use check status node with a comparison requirement. If skills go from 1- to 10, then you first check if opponent has status higher than 9. If the condition is failed, then attach to the failed node a next check status node, which seeks opponents with status higher than 8, and then do the same for 7,6 and so on.
Get Status Value
node - it will select a target with the highest or lowest defined status value.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
If you're enjoying my products, updates and support, please consider supporting me on
That's what I needed, thank you so much!
It looks like you're new here. If you want to get involved, click one of these buttons!
Makinom Tips, Tricks & Tutorials
ORK Tips, Tricks & Tutorials
Bunch of Quest(ions) and errors help
A few clarification questions
Null reference exception while battle
Problem with MoveAIs and Move Ranges
Battle after dialogue
Who's Online (0)
© 2015 Gaming is Love e.U.