Showing results 1 to 25 of 32
Search took 0.00 seconds.
Search: Posts Made By: Riraito
Forum: General Authoring Discussion 06-22-07, 12:50 AM
Replies: 1
Views: 2,868
Posted By Riraito
function yourFunction() if IsAltKeyDown()...

function yourFunction()
if IsAltKeyDown() then
yourCodeHere...
end
end
Forum: Lua/XML Help 05-28-07, 09:31 PM
Replies: 3
Views: 4,200
Posted By Riraito
I think you want a...

I think you want a FontString

http://www.wowwiki.com/XML_User_Interface#FontString
Forum: Lua/XML Help 05-22-07, 08:59 PM
Replies: 1
Views: 3,000
Posted By Riraito
providing you dont actually have unread mail,...

providing you dont actually have unread mail, just put this at the end of your code


if ( HasNewMail() == false ) then
MiniMapMailFrame:Hide()
end
Forum: Lua/XML Help 05-21-07, 05:22 PM
Replies: 2
Views: 3,334
Posted By Riraito
here was some code I found in an AddOn a while...

here was some code I found in an AddOn a while ago, and used credit to anyone if they reconize it as there own, but it has worked nicely for me:

<ScrollFrame name="NotePadTextScrollBar"...
Forum: Lua/XML Help 05-08-07, 10:03 PM
Replies: 4
Views: 3,511
Posted By Riraito
ok so I tried doing it manually and it seemed to...

ok so I tried doing it manually and it seemed to work fine, but when I ran it in my code, it still acts like Im doing a simple a = b; statement, and when I change one table, it changes the other
Forum: Lua/XML Help 05-08-07, 08:53 PM
Replies: 4
Views: 3,511
Posted By Riraito
that did it! thanks :D

that did it! thanks :D
Forum: Lua/XML Help 05-08-07, 08:06 PM
Replies: 4
Views: 3,511
Posted By Riraito
table inheritance?

is there any way to get a table to inherit the value(s) of another table?
for example if I have:
a = {1,2,4}

is there any way to create a new table b, which inherits all the values of a, without...
Forum: Lua/XML Help 05-08-07, 06:13 AM
Replies: 8
Views: 5,419
Posted By Riraito
try adding <Script file="MyAddon.lua"/> (or what...

try adding <Script file="MyAddon.lua"/> (or what ever your lua file name is), right after the

<Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Forum: Lua/XML Help 05-07-07, 10:29 PM
Replies: 8
Views: 5,419
Posted By Riraito
can we see your code? :P

can we see your code? :P
Forum: Lua/XML Help 05-04-07, 10:28 PM
Replies: 6
Views: 4,454
Posted By Riraito
hmm I think this might be what your talking about...

hmm I think this might be what your talking about

nameoftheframeyouwannachange:SetScript("OnEnter",function() self:SetAlpha(.5) end);
Forum: Lua/XML Help 04-27-07, 09:40 PM
Replies: 1
Views: 2,994
Posted By Riraito
I had a very similar problem awhile back, where...

I had a very similar problem awhile back, where it worked fine manually, but didn't work otherwise, and debugging it showed it working right, my problem was that I had two different 'arg1's from 2...
Forum: Lua/XML Help 04-24-07, 03:11 PM
Replies: 4
Views: 4,369
Posted By Riraito
I believe its ChatFrame1:AddMessage ( this is...

I believe its ChatFrame1:AddMessage ( this is 'usually' what DEFAULT_CHAT_FRAME goes to) you can also use ChatFrame2, ChatFrame3 etc. depending on what your loot window is
Forum: Lua/XML Help 04-17-07, 06:25 AM
Replies: 3
Views: 6,310
Posted By Riraito
from my experience, any image you try to use with...

from my experience, any image you try to use with wow must have dimensions with a power of two
Forum: Graphics Help 04-13-07, 05:51 PM
Replies: 17
Views: 10,982
Posted By Riraito
targa doesnt support layers, but it does support...

targa doesnt support layers, but it does support an alpha channel, which controls how transparent something is

you could also just type ingame /script ZeldaHeartsFrameBackground:SetAlpha(0);
Forum: Graphics Help 04-12-07, 02:57 PM
Replies: 17
Views: 10,982
Posted By Riraito
http://upload2.net/page/download/Dq7W953mv82v3TO/Z...

http://upload2.net/page/download/Dq7W953mv82v3TO/ZeldaHearts.zip.html
try that, the DL info is near the bottom
Forum: Graphics Help 04-11-07, 03:49 PM
Replies: 17
Views: 10,982
Posted By Riraito
http://s8.quicksharing.com/v/6955474/.html hows...

http://s8.quicksharing.com/v/6955474/.html hows that?
if anyone could get the sound effects, tha*t would be cool to add
Forum: Graphics Help 04-08-07, 09:47 PM
Replies: 17
Views: 10,982
Posted By Riraito
hey that is a great idea, I definatly think its...

hey that is a great idea, I definatly think its possible, you would probably have to create a bunch of heart frames , and hide/show them depending on how much hp you have

if UnitHealth("player") /...
Forum: Lua/XML Help 04-08-07, 09:42 PM
Replies: 2
Views: 4,270
Posted By Riraito
have you tried CHAT_MSG_SYSTEM? not sure if it...

have you tried CHAT_MSG_SYSTEM? not sure if it will work, worth a shot tho
Forum: General Authoring Discussion 04-04-07, 10:41 PM
Replies: 1
Views: 3,454
Posted By Riraito
Delete Frames?

I know you can use lua to create frames, but I was wondering, is there any way to use lua to delete frames that you have made?
Forum: Lua/XML Help 03-11-07, 12:16 AM
Replies: 1
Views: 2,829
Posted By Riraito
nvm I figured it out

nvm I figured it out
Forum: Lua/XML Help 03-10-07, 06:38 PM
Replies: 1
Views: 2,829
Posted By Riraito
hooking 'AddQuestWatch'

Im trying to hook the function AddQuestWatch, but when I put

oldAddWatch = AddQuestWatch
AddQuestWatch = NewAddQuestWatch

into an OnLoad function, the system locks up, and after about 5 minutes I...
Forum: Lua/XML Help 03-08-07, 07:18 PM
Replies: 1
Views: 2,524
Posted By Riraito
you must either put it the file name on the...

you must either put it the file name on the bottom line of the .toc file,
## Interface: 20000
## Title: MyMod
## SavedVariables:
MyMod.xml
MyMod.lua
or you can put it in the the xml file

<Ui...>
...
Forum: General Authoring Discussion 02-20-07, 04:11 PM
Replies: 3
Views: 3,824
Posted By Riraito
http://www.wowwiki.com/Interface_Customization...

http://www.wowwiki.com/Interface_Customization this site is great , you can learn pretty much everything you need from here
you also might want to download this, it has a few nice tutorials, and you...
Forum: General Authoring Discussion 02-16-07, 10:58 PM
Replies: 7
Views: 4,520
Posted By Riraito
this is a little off topic srry, but im just...

this is a little off topic srry, but im just wondering, what the units are for the coordinates, is it feet? meters? something else? or just some arbitrary number?
Forum: General Authoring Discussion 01-11-07, 04:47 PM
Replies: 0
Views: 3,859
Posted By Riraito
GetRaidRosterInfo()

im trying to make raid frames that display health mana etc and I've been using the following code:
for i = 1,GetNumRaidMembers() do
name, rank, subgroup, level, class, fileName,...
Showing results 1 to 25 of 32