I wonder if someone can help me.
I am alpha testing a mod which (among other things) monitors EVENT_UNIT_DEATH_STATE_CHANGED.
The mod is only interested in triggers where the isDead argument is true and IsUnitPlayer(unitTag) is true.
When the player is solo and dies everything works as expected.
The problem comes when the player is in a group. In the group case it gets triggered twice when the player dies. When any other group member dies it works fine as it is only triggered once.
The double triggers come in quick succession, before the player has a chance to decide whether to spend a soul gem to revive or go to a wayshrine.
Does anyone know whether this is expected behaviour?
Am I missing something and the two invocations are different? They look identical to me
Could the number of death triggers be different in other circumstances?
Before I try to concoct a workaround I would like to know more.