I am currently making a turn-based game with Phase Battle System Type.
In Schematics, I am using the "Use Battle Action" node to use Actions according to the current deployment order using specific keys.

However, during the development process, I am trying to use Set target -> Object in the Target(Combatant) option of the "Use Battle Action" node, but I don't know what variable to put in Object to attack the Enemy selected in Target Setting -> Group Target Settings.

Currently, I have successfully used the "Use Battle Action" node by specifying User(Combatant) as Player Group(member Index) and certain allies are able to use it, but they are attacking randomly because they are not able to select the Target(Combatant) object.

I want to attack only the Enemy selected by User in Group Target Settings -> Target Hightlight, but is there no way to find the object or variable that Target Hightlight is selected? If not, I would like to know how to get the variable or object of the Enemy deployment member determined by the Battle Spots system. Is there a good way?

  • You need to first use a Select Combatant node to get the group targets of a combatant and store them into selected data (set Combatant Origin to Group Target in the node). The Use Battle Action node can now use them by using the Selected Data object with the same data key you used to store the targets.
    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 patreon.com!
Sign In or Register to comment.