- Joined
- Jan 11, 2022
- Messages
- 22
- Reaction score
- 45
- First Language
- English
- Primarily Uses
- RMMZ
Hi, I'm trying to do something that requires I get the index of the enemy I last targeted with an actor, and then that specific enemy's health. Unfortunately, Control Variable doesn't let me use a specific variable as the enemy's index, so I've taken to using script calls. The script calls I tried to use, however, didn't work and just gave me an error:

Can anyone help me? I'd rather not use conditional branches to check the variable I set the enemy index to and set a variable accordingly, but I will if that's the only option. Forgive me for that, I just find it a bit unnecessary to do.

Can anyone help me? I'd rather not use conditional branches to check the variable I set the enemy index to and set a variable accordingly, but I will if that's the only option. Forgive me for that, I just find it a bit unnecessary to do.