How to make the camera look at the player who killed the enemy at the end after winning the battle? How to make the camera look at the last player to die?
The combatant's death schematic can use a Select Combatant node to store the combatant into the global selected data, the battle end schematic can use it for camera changes.
For enemy combatants, you can use the Combatant Origin of the node to use the Killed By combatant instead of the combatant itself.
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!
The combatant's death schematic can use a Select Combatant node to store the combatant into the global selected data, the battle end schematic can use it for camera changes.
For enemy combatants, you can use the Combatant Origin of the node to use the Killed By combatant instead of the combatant itself.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!