Hi all,
I'm trying to use an Eval in a YEP Battle A.I. Core condition so I can determine if the user is of a certain enemy index. Important to note here that I do mean index of the current troop and not the enemyId.
For instance, here would be how I check for the enemyId of the user in an eval:
So, I literally just need the enemyIndex version of that. I really hope it's literally just not "enemyIndex" cause I will look like a right fool 🤣 - but I did look that up and it didn't seem to be a thing.
I'm trying to use an Eval in a YEP Battle A.I. Core condition so I can determine if the user is of a certain enemy index. Important to note here that I do mean index of the current troop and not the enemyId.
For instance, here would be how I check for the enemyId of the user in an eval:
Code:
user.enemyId() == 13
So, I literally just need the enemyIndex version of that. I really hope it's literally just not "enemyIndex" cause I will look like a right fool 🤣 - but I did look that up and it didn't seem to be a thing.