Thread Tools Display Modes
Prev Previous Post   Next Post Next
03/09/17, 04:22 PM   #1
patrick_smyth
AddOn Author - Click to view addons
Join Date: Oct 2016
Posts: 9
You only die twice if in group?

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.
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » You only die twice if in group?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off