Results: 9Comments by: Pure_Decimation |
File: LootDice04/29/14 |
![]() Posted By: Pure_Decimation
Hiya!
Thank you for putting out a mod like this! I just had a few questions. I have it installed and it looks great.
Is there a way for other people to see my rolls? If so, how can they? Do they need to install the addon?
Thanks in advance!
Well I was thinking about what you said and was planning on it. But I looked int...
|
File: LootDice04/27/14 |
![]() Posted By: Pure_Decimation
Ok, sorry about that. I went in and fixed the code a little but for some reason I'm still getting the same error. I may still be miss understanding something somewhere. Here is the code that I fixed so far and I'm getting the error with.
LUA
RollVars = {}
RollVars = {}
RollVars.Defaults = {
= false,
= {...
|
File: LootDice04/27/14 |
![]() Posted By: Pure_Decimation
(Firstly, go through your variable calls for variables within your table. Cause I see that some of them are not worded properly. Also when you call your "Roll" object, you need to place the parents (your top level control) name in front of it since that is how you call it in the XML file. Let me know if you need a more in depth expla...
|
File: LootDice04/27/14 |
![]() Posted By: Pure_Decimation
(Firstly, go through your variable calls for variables within your table. Cause I see that some of them are not worded properly. Also when you call your "Roll" object, you need to place the parents (your top level control) name in front of it since that is how you call it in the XML file. Let me know if you need a more in depth expla...
|
File: LootDice04/27/14 |
![]() Posted By: Pure_Decimation
I moved everything around and now I'm getting and error. I think it might be something to do with trying to pull up the savedVar. I'm gonna link all my code lua, xml, and txt and show the picture of the error. Maybe you can see what I'm messing up on. O and Pure thank for all this help.
LUA
RollVars = {}
RollVars = {}
Rol...
|
File: LootDice04/27/14 |
![]() Posted By: Pure_Decimation
I know I must be putting the code in the wrong order or something. Not sure exactly where I'm messing up but I feel it's close.
RollVars = {}
RollVars.Defaults = {
= false,
= {
= 0,
= 0,
= TOPLEFT,
= TOPLEFT,
},
}
function MyAddonRollDice()
local num = math.random(1,100)
return num
end...
|
File: LootDice04/26/14 |
![]() Posted By: Pure_Decimation
I tried that in my code which now looks like the lua below. It doesn't seem to work. I pulled out the anchor tags and it goes to the top left and can't move it.
LUA
function MyAddonRollDice()
local num = math.random(1,100)
return num
end
Roll:SetHandler("OnMoveStop", OnMoveStopRoll)
Roll:SetAnchor(RollVars.SV.r...
|
File: ChatMultiWindow04/26/14 |
![]() Posted By: Pure_Decimation
Really need to fix the fact that the chat will fade out while you're typing. It's quite annoying and I don't want it always up. A fix for that would be amazing. Thank you :)
|
File: LootDice04/25/14 |
![]() Posted By: Pure_Decimation
Look here for help with the anchor not saving. I just had the same problem and this should be able to help you. :)
http://www.esoui.com/forums/showthread.php?t=1152
|