View Single Post
02/12/16, 07:55 AM   #3
haggen
 
haggen's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2015
Posts: 137
I have the impression that the last step of loading any add-on is to initialize the top level controls, so I'd test something like:

1. Saving the time in the first line of the very first file in your manifest.
2. Comparing it to the time of the OnInitialize callback from your top level control.

If you don't have any XML create an empty TopLevelControl with just the callback in question.

I might be wrong about this but I think it's worth a shot. The OnAddOnLoaded event is unreliable, as said by @sirinsidiat0r, the game might trigger it way after your add-on has actually been loaded.

Last edited by haggen : 02/12/16 at 01:27 PM.
  Reply With Quote