WoW:API GrantLevel: Difference between revisions
Jump to navigation
Jump to search
(bp) |
|||
Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
Grant a custom amount of levels to a RaF-linked player. | |||
GrantLevel("unit", levels) | |||
GrantLevel("unit", | |||
== Arguments == | == Arguments == | ||
;unit : String ([[UnitId]]) - player to grant levels to. | |||
;levels : Number - amount of levels you wish to grant to the unit. | |||
== Notes == | |||
* You must be in visibility range of the unit; the unit must also fulfil RaF requirements for level granting — check with {{api|CanGrantLevel}}. | |||
* Regardless of the value of the levels argument, the function only grants a single level to the unit. |
Revision as of 14:33, 20 June 2010
← WoW API < GrantLevel
Grant a custom amount of levels to a RaF-linked player.
GrantLevel("unit", levels)
Arguments
- unit
- String (UnitId) - player to grant levels to.
- levels
- Number - amount of levels you wish to grant to the unit.
Notes
- You must be in visibility range of the unit; the unit must also fulfil RaF requirements for level granting — check with CanGrantLevel.
- Regardless of the value of the levels argument, the function only grants a single level to the unit.