View Single Post
03-29-16, 01:10 AM   #1
Kronzo
A Defias Bandit
Join Date: Mar 2016
Posts: 3
stuf unitframes lua

I am hoping someone can help me to get stuf unit frames to display my power in mini (k) and disapear when empty 37k instead of 37000 i dont really have any code since ive used the built in to display all text and the lua code i have from my other unit frames dont work.

this is from the lua help

lua code must have this format

function (unit. cache. textframe)
<some code here> return text". ... end
where cache may be used as cache.info
and " ... " are optional arguments to set formatted text.

and as i understand it cache is from stufs built in naming where i use [power:curmp]
where power defines the color used
hope this is enough info
  Reply With Quote