Thread Tools Display Modes
10-24-09, 03:17 PM   #1
jasje
A Chromatic Dragonspawn
 
jasje's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 150
LUA help

its not much of a lua help question but i'd like to know if there is a site or w/e to put my LUA code online so i can easy share this with other's

ty for your time
__________________

Tukui | Github
  Reply With Quote
10-24-09, 03:39 PM   #2
Akryn
A Firelord
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 479
Originally Posted by jasje View Post
its not much of a lua help question but i'd like to know if there is a site or w/e to put my LUA code online so i can easy share this with other's

ty for your time
You mean permanently or just for posting it for others to read? If the latter then: http://www.pastey.net/
  Reply With Quote
10-24-09, 04:18 PM   #3
jasje
A Chromatic Dragonspawn
 
jasje's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 150
real question.

yeah that helped now i can ask my real question (cause the author of oUF_Lash isnt responding)

here is the link wich contains the code:
http://www.pastey.net/127090-1bsr

my question is, my debuffs doesnt work on my target frame how can i enable them cause ive been searching for a mad man so some help would be much appriciated

( i thought i post the whole code cause i might forget a part)
__________________

Tukui | Github
  Reply With Quote
10-24-09, 05:13 PM   #4
ravagernl
Proceritate Corporis
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,176
look at line 489

It says the number of shown debuffs is 3 if the unit is targettarget, or 0 otherwise.

EDIT: I found out by just searching for self.Debuffs. There's only one block of code with it.
EDIT2:
Code:
if(unit == "targettarget") then 
  debuffs.num = 3 
elseif(unit=="target") then
  debuffs.num = 9
else
  debuffs.num = 0
end

Last edited by ravagernl : 10-24-09 at 05:18 PM.
  Reply With Quote
10-25-09, 04:14 AM   #5
jasje
A Chromatic Dragonspawn
 
jasje's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 150
worked like a charm bedankt
__________________

Tukui | Github
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » LUA help


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off