Quantcast
ESOUI - Search Results
Showing results 1 to 19 of 19
Search took 0.00 seconds.
Search: Posts Made By: archpoet
Forum: Lua/XML Help 04/24/14, 10:52 PM
Replies: 17
Views: 7,428
Posted By archpoet
The first one should...

The first one should work:

EVENT_MANAGER:RegisterForEvent("HarvestMap", EVENT_ADD_ON_LOADED, function (eventCode,addOnName)
if addOnName == "HarvestMap" then
Initialize()
...
Forum: General Authoring Discussion 04/24/14, 10:45 PM
Replies: 58
Views: 21,107
Posted By archpoet
+1 (pretend this is trailing whitespace)

+1

(pretend this is trailing whitespace)
Forum: General Authoring Discussion 04/24/14, 09:20 PM
Replies: 58
Views: 21,107
Posted By archpoet
Feels like a straight scrape.. some of these...

Feels like a straight scrape.. some of these add-ons are not popular enough to warrant directly addressing (on their part.)

They've even got mine up there, and I released it 2 days ago.

Kinda makes...
Forum: Lua/XML Help 04/24/14, 09:14 PM
Replies: 23
Views: 9,762
Posted By archpoet
First of all you'll need to setup ZO_SavedVars to...

First of all you'll need to setup ZO_SavedVars to save and reload the coordinates.. some info about that here:
http://wiki.esoui.com/AddOn_Quick_Questions

Then you'll want to set a default position...
Forum: Lua/XML Help 04/24/14, 08:56 PM
Replies: 23
Views: 9,762
Posted By archpoet
LOL. :) My pleasure, glad to help.

LOL. :) My pleasure, glad to help.
Forum: Lua/XML Help 04/24/14, 08:55 PM
Replies: 17
Views: 7,428
Posted By archpoet
I've seen several other add-on authors sorely...

I've seen several other add-on authors sorely over complicate the SavedVars process, so hopefully I can help.

Basically, what i do in my add-ons is define a master table for all the data that a) I...
Forum: Lua/XML Help 04/24/14, 08:29 PM
Replies: 23
Views: 9,762
Posted By archpoet
Yep, namespace conflict: confirmed. Basically I...

Yep, namespace conflict: confirmed.

Basically I copied and pasted your code as written and just changed the name of the function to RollDice() in both the lua and the xml and it worked no...
Forum: Lua/XML Help 04/24/14, 07:08 PM
Replies: 23
Views: 9,762
Posted By archpoet
Furthermore, you might have a namespace...

Furthermore, you might have a namespace conflict.

You have an element named "LootDiceRoll" and a function named the same.
Forum: Lua/XML Help 04/24/14, 07:04 PM
Replies: 23
Views: 9,762
Posted By archpoet
I think I see the issue you're having. LootDice...

I think I see the issue you're having.

LootDice is not the type of element that has the :SetText() method.
Labels do however (i.e. $(parent)Roll,) so try LootDiceRoll:SetText(Roll)

Oh yeah, also......
Forum: Lua/XML Help 04/24/14, 06:33 PM
Replies: 23
Views: 9,762
Posted By archpoet
Your question is related more so to a programming...

Your question is related more so to a programming fundamental in most languages, than to the ESO API. That is: to capture the return value of any function it is typical to assign it to a variable....
Forum: Lua/XML Help 04/24/14, 05:57 PM
Replies: 23
Views: 9,762
Posted By archpoet
math.random() returns a value that you're not...

math.random() returns a value that you're not capturing.

:)
Forum: AddOn Help/Support 04/24/14, 02:08 PM
Replies: 19
Views: 16,406
Posted By archpoet
Oh, hmm.. it seemed likely considering ^M^F is...

Oh, hmm.. it seemed likely considering ^M^F is CarriageReturn,ACK.

However, if Bl4ckSh33p's function is actually stripping them.. then they are the string representations rather than the control...
Forum: AddOn Help/Support 04/24/14, 01:14 PM
Replies: 19
Views: 16,406
Posted By archpoet
http://en.wiktionary.org/wiki/Appendix:Control_cha...

http://en.wiktionary.org/wiki/Appendix:Control_characters
Forum: Lua/XML Help 04/24/14, 12:50 PM
Replies: 8
Views: 3,676
Posted By archpoet
Without seeing any code, based entirely on your...

Without seeing any code, based entirely on your description it sounds like you're checking IsHidden() on the Parent instead of the hidden child.

Something else that's been pointed out to me,...
Forum: Site help, bugs, suggestions/questions 04/24/14, 11:57 AM
Replies: 3
Views: 1,228
Posted By archpoet
Thumbs up I second the motion.

I second the motion.
Forum: Lua/XML Help 04/24/14, 11:20 AM
Replies: 9
Views: 3,343
Posted By archpoet
I agree with each of the replies in their own...

I agree with each of the replies in their own way.

OP should take one of the provided outs. ;)
Forum: General Authoring Discussion 04/23/14, 03:01 AM
Replies: 6
Views: 2,676
Posted By archpoet
My pleasure, happy to help! :)

My pleasure, happy to help! :)
Forum: AddOn Search/Requests 04/23/14, 02:58 AM
Replies: 8
Views: 3,657
Posted By archpoet
Most likely. You'd need to find the UI Object...

Most likely.

You'd need to find the UI Object for the element, (i.e. ZO_BlahBlahGroupMemberIcon)
and then do a...

:SetColor(), or :SetCenterColor() on it.
Forum: General Authoring Discussion 04/23/14, 02:52 AM
Replies: 6
Views: 2,676
Posted By archpoet
Afaik when you provide a callback to that event,...

Afaik when you provide a callback to that event, *that* function gets the following args passed along:

(integer eventCode, integer messageType, string fromName, string text)

messageType *should*...
Showing results 1 to 19 of 19