WoW:API GetComboPoints: Difference between revisions
Jump to navigation
Jump to search
(Updated to reflect unit argument is now mandatory.) |
(rewrite to match API formats and correct parameters) |
||
Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}}__NOTOC__ | ||
Retrieves the number of combo points gained by a player. | |||
GetComboPoints(unit, target); | |||
== Parameters == | |||
=== Arguments === | |||
:(unit, target) | |||
:;unit : String - Either "player" or "vehicle". (More strings/[[UnitId]]s may be possible but have not been seen in Blizzard code.) | |||
:;target : String - Should be "target". No other value has been seen in Blizzard code. | |||
=== Returns === | |||
:;Number : between 0 and 5 inclusive |
Revision as of 04:34, 19 April 2009
Retrieves the number of combo points gained by a player.
GetComboPoints(unit, target);
Parameters
Arguments
- (unit, target)
- unit
- String - Either "player" or "vehicle". (More strings/UnitIds may be possible but have not been seen in Blizzard code.)
- target
- String - Should be "target". No other value has been seen in Blizzard code.
Returns
- Number
- between 0 and 5 inclusive