LUA Format Function

I am modifying some code that another person wrote and would like to understand what the 6 1s at the end of this format statement do:

GameTooltip:AddDoubleLine(format(“%s”, HydraUI:Comma(Remaining)), format(“%s%%”, RemainingPercent), 1, 1, 1, 1, 1, 1)

Thanks.

I think they are the rgb colors for the lines?

When I try rgb 1,1,1 on Google it comes out as black (hex #010101).

Thank you! I was looking at format when I should have been looking at AddDoubleLine.

1 Like