Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: Cr4x
Forum: Lua/XML Help 04/15/14, 03:38 AM
Replies: 15
Views: 14,634
Posted By Cr4x
Each addon should make sure not to override any...

Each addon should make sure not to override any existing handlers, wether it is using a event storage or not.
Forum: Wiki 04/13/14, 06:57 AM
Replies: 22
Views: 55,954
Posted By Cr4x
I would say, it depends how it is...

I would say, it depends how it is declared.
because you should always document the declaration and not the "calls"


http://lua-users.org/wiki/StringLibraryTutorial
Just an example ;)


LOL sorry,...
Forum: Wiki 04/13/14, 05:04 AM
Replies: 22
Views: 55,954
Posted By Cr4x
I guess all of your were right. However, for...

I guess all of your were right.

However, for "beginner" it is not immediately recognizable that Lua has the ":" operator which causes in this case the eventCode as first Argument.
The list of...
Forum: General Authoring Discussion 04/08/14, 06:02 PM
Replies: 6
Views: 4,004
Posted By Cr4x
EVENT_GLOBAL_MOUSE_DOWN =...

EVENT_GLOBAL_MOUSE_DOWN = 65542

http://wiki.esoui.com/Events

every event listed on that page, has always as first argument his own eventCode.

So

EVENT_GLOBAL_MOUSE_DOWN (integer button, bool...
Forum: Lua/XML Help 04/07/14, 10:49 AM
Replies: 12
Views: 8,248
Posted By Cr4x
Edda, http://wiki.esoui.com/Events#UI EVENT_ACTI...

Edda,

http://wiki.esoui.com/Events#UI

EVENT_ACTION_LAYER_POPPED (luaindex layerIndex, luaindex activeLayerIndex)
EVENT_ACTION_LAYER_PUSHED (luaindex layerIndex, luaindex activeLayerIndex)

both...
Forum: Lua/XML Help 04/06/14, 07:33 AM
Replies: 16
Views: 11,796
Posted By Cr4x
You can capture such events with...

You can capture such events with :SetHandler("OnShow", MyAddOnFunctionOnShow)

However you need to set the handler to a toplevel window cause thats usually the only one wich is shown or hided.

So...
Forum: Lua/XML Help 04/06/14, 04:07 AM
Replies: 16
Views: 11,796
Posted By Cr4x
wiki.esoui.com/UI_XML...

wiki.esoui.com/UI_XML (http://wiki.esoui.com/UI_XML)

Use zgoo to inspect which type of control you want to handle, head to the specific section and looks what it has of attributes additional childs...
Forum: General Authoring Discussion 04/04/14, 05:43 PM
Replies: 3
Views: 4,211
Posted By Cr4x
I tested some things and here are my results: ...

I tested some things and here are my results:


you need an anchor for your control to work correclty.
your control need dimensions, otherwise you try to drag 0*0 pixel
i guess movable is not...
Forum: Lua/XML Help 04/04/14, 07:42 AM
Replies: 16
Views: 11,796
Posted By Cr4x
Easiest way to achive your goal is to install...

Easiest way to achive your goal is to install zgoo and try to figure out which is the head control of the tabs.

type /zgoo mouse while you are on any filter button and have a look at his...
Forum: Lua/XML Help 04/04/14, 07:31 AM
Replies: 5
Views: 4,953
Posted By Cr4x
As Errc said you can watch...

As Errc said you can watch EVENT_ACTION_LAYERS_POPPED and _PUSHED for just watching if something is opened.

If you need to access further informations for example when the Inventory is...
Forum: Lua/XML Help 04/04/14, 07:17 AM
Replies: 13
Views: 9,553
Posted By Cr4x
Hey, line 36 your if compares to...

Hey,

line 36 your if compares to variables

addon: which is the 2. paramater < OK
addon_name: i cant find any variable with that name < I Expect you want to use addonName.

Cheers
Showing results 1 to 11 of 11