Showing results 1 to 16 of 16
Search took 0.00 seconds.
Search: Posts Made By: Aicam
Forum: General Authoring Discussion 05/30/14, 02:57 AM
Replies: 11
Views: 7,794
Posted By Aicam
Trying to prehook initalization methods is prety...

Trying to prehook initalization methods is prety futile since most are only called before any addon loads.
Forum: General Authoring Discussion 05/27/14, 01:57 PM
Replies: 9
Views: 6,227
Posted By Aicam
Do something like the following and you will...

Do something like the following and you will notice that the callback of the button has nothing to do with the action triggered with the keybind.

ZO_OptionsWindowResetToDefaultButton:SetCallback(...
Forum: Lua/XML Help 05/26/14, 10:46 AM
Replies: 15
Views: 12,280
Posted By Aicam
the real problem traversing the SavedVars is that...

the real problem traversing the SavedVars is that the actual data is stored in a metatable.
i use the following (rather long) snipped to auto generate default get/set functions for my SavedVars. ...
Forum: General Authoring Discussion 05/17/14, 08:23 AM
Replies: 8
Views: 6,071
Posted By Aicam
WORLD_MAP_INFO.modeBar:Add( ... ) Apparently the...

WORLD_MAP_INFO.modeBar:Add( ... )

Apparently the first argument is a string id and not a string. So you need to create your string with
ZO_CreateStringId( name, string ), which is inserted into the...
Forum: General Authoring Discussion 05/17/14, 05:42 AM
Replies: 8
Views: 6,071
Posted By Aicam
if that is the case this should do the job of...

if that is the case this should do the job of retreiving the right contol:
ZO_WorldMapInfo:GetNamedChild("MenuBar"):Add( ... )
Forum: Lua/XML Help 05/12/14, 03:56 AM
Replies: 6
Views: 5,722
Posted By Aicam
try setting the text after you set all text...

try setting the text after you set all text related attributes. that solved my issues when playing with font options on buttons.
Forum: Lua/XML Help 05/12/14, 03:52 AM
Replies: 9
Views: 8,369
Posted By Aicam
inheriting from ZO_DefaultTextEdit might help...

inheriting from ZO_DefaultTextEdit might help with strange behaviour, if not some your attributes are the most likely culprit of that issue. i can't test it right now.
Forum: Lua/XML Help 05/11/14, 12:05 PM
Replies: 9
Views: 8,369
Posted By Aicam
You need to tell the edit box when it should get...

You need to tell the edit box when it should get focus. The following should be the normal behaviour of an edit box.

<OnMouseDown>
self:TakeFocus()
</OnMouseDown>
<OnEnter>
...
Forum: General Authoring Discussion 05/11/14, 09:12 AM
Replies: 12
Views: 15,050
Posted By Aicam
Ok, I found the source of all the problems, i...

Ok, I found the source of all the problems, i could conform.


local fragment = ZO_SimpleSceneFragment:New( yourControl )

...

Apparently the fade animation messes up, the timeline in SCENE_MANAGER....
Forum: General Authoring Discussion 05/11/14, 07:19 AM
Replies: 12
Views: 15,050
Posted By Aicam
Well, i never noticed that one. i always used the...

Well, i never noticed that one. i always used the right click menu to select skills, which has a wastly superior mouse movement economy ;).
I would consider this a bug in the api. I tried to trigger...
Forum: Wish List 05/11/14, 03:50 AM
Replies: 4
Views: 6,854
Posted By Aicam
why? its still a perfectly valid wish since there...

why? its still a perfectly valid wish since there is an addon menu on the character sreen.
Forum: General Authoring Discussion 05/10/14, 09:59 AM
Replies: 10
Views: 6,852
Posted By Aicam
As a function of the SCENE_MANAGER it is not...

As a function of the SCENE_MANAGER it is not possible to select a map. You might want to try to find some functions with ZO_WorldMap in their name.
Forum: General Authoring Discussion 05/10/14, 09:35 AM
Replies: 12
Views: 15,050
Posted By Aicam
local fragment = ZO_FadeSceneFragment:New(...

local fragment = ZO_FadeSceneFragment:New( yourControl )

SCENE_MANAGER:GetScene('hud'):AddFragment( fragment )
SCENE_MANAGER:GetScene('hudui'):AddFragment( fragment )


This adds yourControl to the...
Forum: Translation Help 05/08/14, 07:21 AM
Replies: 5
Views: 8,383
Posted By Aicam
-------------------------------------- -- German...

--------------------------------------
-- German localization for Dustman --
--------------------------------------

--addon menu
ZO_CreateStringId("DUSTMAN_TITLE", ...
Forum: Lua/XML Help 05/02/14, 09:12 AM
Replies: 5
Views: 5,530
Posted By Aicam
under the GetChild() function is a GetChildren()...

under the GetChild() function is a GetChildren() function which expands a list of all children
Forum: Lua/XML Help 05/02/14, 08:50 AM
Replies: 7
Views: 6,810
Posted By Aicam
Another way would be to hook directly into...

Another way would be to hook directly into SCENE_MANAGER


local yourFragment = ZO_SimpleSceneFragment( yourControl )

-- this scene controls the hud when the recticle is active
local hudScene =...
Showing results 1 to 16 of 16