Thread Tools Display Modes
10/19/15, 02:05 PM   #1
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
EVENT_ACTION_SLOTS_FULL_UPDATE called up to 8 times per weapon swap.

Specifically it's called 6x when I swap 1->2, and 8x when I swap 2->1. With another character, it's called 3x per weapon swap. Does anyone has an idea what's going on?

edit:
similar with EVENT_ACTION_SLOT_STATE_UPDATED: called 2x per slot (1-8) when swapping 1->2, 3x per slot (1-6) and 2x per slot (7-8) when swapping 2->1

ABILITY_LIST_CHANGED called 6x per weapon swap, wtf?

Last edited by merlight : 10/19/15 at 02:29 PM.
  Reply With Quote
10/19/15, 05:04 PM   #2
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
I don't know, but I tried it and on a single weapon swap my EVENT_ACTION_SLOT_STATE_UPDATED fired an about an average of 21 times. The minimum I saw was it firing 18 times up to a maximum of 25 times. ABILITY_LIST_CHANGED didn't fire at all on weapon swaps for me.
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » EVENT_ACTION_SLOTS_FULL_UPDATE called up to 8 times per weapon swap.


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