Hey there! I've got a schematic set up to trigger every time an enemy gets hit. I've attached an image to show how it works. The issue is, it relies on global variables. This means when there are two identical enemies, the setup fails. I tried switching to object or local variables to fix this, but then it stopped working altogether. Any thoughts on what might be causing this problem?
Since this is most likely based on the target, use object variables of the Starting Object (i.e. the target). Also, make sure you have object variables set up for your combatants.
I'd recommend to enable them for all combatants in Combatants > Combatants > General Settings, enable Use Object Variables and Local Variables (i.e. each combatant has it's own variables instead of sharing via object ID).
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!