Thread Tools Display Modes
05/16/15, 02:59 AM   #1
Area51
AddOn Author - Click to view addons
Join Date: Dec 2014
Posts: 20
Event Causing Crash

Setting a UI feature using EVENT_PLAYER_ACTIVATED works the first time, but when using a wayshrine, or reloading the UI it's trying to set again and causing ESO to crash.

Is there an event that triggers once, only when a person logs in for instance, that I could use instead?
  Reply With Quote
05/16/15, 03:50 AM   #2
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
(This) event(s) don't cause crash, check your code.
  Reply With Quote
05/16/15, 03:54 AM   #3
Area51
AddOn Author - Click to view addons
Join Date: Dec 2014
Posts: 20
Solved!

Originally Posted by Ayantir View Post
(This) event(s) don't cause crash, check your code.
Solved it thanks! The event was triggering the function to run more than once, when it was only required to run the first time a player logged in. It was easy enough to make it so that it only triggers when the player logs in.
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Event Causing Crash

Thread Tools
Display Modes

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