Returns information about a unit's alternate power display
See also Unit functions.
Signature:
barType,
minPower,
startInset,
endInset,
smooth,
hideFromOthers,
showOnRaid,
opaqueSpark,
opaqueFlash,
powerName,
powerTooltip,
costString,
barID
=
UnitAlternatePowerInfo("unit")
or
UnitAlternatePowerInfo("name")
Arguments:
unit
- A unit to query (string
, unitID)name
- The name of a unit to query; only valid forplayer
,pet
, and party/raid members (string
)
Returns:
barType
- (number
)minPower
- (number
)startInset
- (number
)endInset
- (number
)smooth
- (boolean
)hideFromOthers
- (boolean
)showOnRaid
- (boolean
)opaqueSpark
- (boolean
)opaqueFlash
- (boolean
)powerName
- (string
)powerTooltip
- (string
)costString
- (string
)barID
- (number
)