Thread Tools Display Modes
02-25-07, 01:59 AM   #1
nepluto
A Murloc Raider
Join Date: Sep 2006
Posts: 5
Healing Mod Help

Hi. Im a bit new to the LUA side of programming. I'm trying to work up a mod to determine who needs healed based off of health %. but so far i've come up with an extremely large code that uses alot of memory. Im trying to condense the code.

I have already succesfully grabbed how many people were in a raid or party to determine the max ammount of players to scan through their raid id. only problem i have is storeing all possible values in temp vars so that i can input them into vars for UI output. Im wondering if putting them in a table might help, so i can store the player name and health in one value. But im not quite sure on how i would go about scanning players 1-40(possible) without storeing them in localy declared vars and then sorting the list from lowest to highest, and putting them in the right vars according to the health% they are at. If anyone could help me out i'd appreciate it. thanks.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Healing Mod 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