I am creating a Boss Battle sequence, and I want specific enemies who have heal abilities to heal the main boss. In the BattleCore, the only way I could see to set a specific target was using this:
TARGET: Current Index
- Sets the current index to this value.
- Then decide to jump to a label (optional).
Set Index To:
- Sets current targeting index to this value.
- 0 is the starting index of a target group.
However, it's not working. I set the target number to 4 (which is the number of the boss target in the battle event/troops screen). They are still selecting random targets among the enemies.
I could not find another way to set the target in the RMMZ menus either. Does anyone know how to force the enemies to only select one target with a specific skill? (Btw, I do NOT want to use the force ability command; I want the abilities to be used at random as normal, but force them to target one specific enemy, the boss, when using the heal skill)
Thanks for the advice! 🙂
*********EDIT/ANSWER**********
The way to do this is through VisuStella. I don't see any other way to select a specific target through the RMMZ software alone.
In the BattleCore, you want to make sure your targeting for all your actions, whether it's animations, scaling, or actions effects, are set to "friend index x" -- when you select that option, you click on it to change the "x" to a number, and that number is whatever Index number the enemy has in the troops menu, minus one, because the index for VisuStella programming starts with "0" (i.e. zero).
So, for example, in this picture, I want the target to be my main boss unit, which is an Index of 4 in the troops menu. So when scripting it in VisuStella, it's (4-1) which is 3, and upon testing, it worked great.
Hope that helps someone else.
TARGET: Current Index
- Sets the current index to this value.
- Then decide to jump to a label (optional).
Set Index To:
- Sets current targeting index to this value.
- 0 is the starting index of a target group.
However, it's not working. I set the target number to 4 (which is the number of the boss target in the battle event/troops screen). They are still selecting random targets among the enemies.
I could not find another way to set the target in the RMMZ menus either. Does anyone know how to force the enemies to only select one target with a specific skill? (Btw, I do NOT want to use the force ability command; I want the abilities to be used at random as normal, but force them to target one specific enemy, the boss, when using the heal skill)
Thanks for the advice! 🙂
*********EDIT/ANSWER**********
The way to do this is through VisuStella. I don't see any other way to select a specific target through the RMMZ software alone.
In the BattleCore, you want to make sure your targeting for all your actions, whether it's animations, scaling, or actions effects, are set to "friend index x" -- when you select that option, you click on it to change the "x" to a number, and that number is whatever Index number the enemy has in the troops menu, minus one, because the index for VisuStella programming starts with "0" (i.e. zero).
So, for example, in this picture, I want the target to be my main boss unit, which is an Index of 4 in the troops menu. So when scripting it in VisuStella, it's (4-1) which is 3, and upon testing, it worked great.
Hope that helps someone else.