WoW:API GrantLevel: Difference between revisions
Jump to navigation
Jump to search
m (New page: {{wowapi}} __NOTOC__ <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> One line summary description of function. <!-- List return values an...) |
m (stub for more context) |
||
Line 1: | Line 1: | ||
{{stub/API}} | |||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
Revision as of 02:58, 21 August 2008
← WoW API < GrantLevel
GrantLevel("unit",level)
Arguments
- ("unit",level)
- unit
- UnitId, also accepts names but you need to be in line of sight to each other in order to grant levels
- level
- integer, the amount of levels you want to give away
Returns
Nothing
Example
GrantLevel("target",1)
or
GrantLevel("Zuotheshaman",1)
Result
Grants your target one level, or grant Zuotheshaman one level (if unit is in line of sight otherwise you get a error)