RewardPlayerXP - Game
Member of: Game Script
Rewards the player with a certain amount of XP, optionally bypassing any XP modifiers.
SyntaxEdit
Function RewardPlayerXP(int auiXPAmount, bool abDirect = false) native global
ParametersEdit
- auiXPAmount: The amount of XP to reward the player
- abDirect: If true, will bypass any XP modifiers applied to the player and reward the XP 'directly'.
- Default: False
Return ValueEdit
None
ExamplesEdit
; Give the player 50 XP
Game.RewardPlayerXP(50)
; Give the player 50 XP, unaffected by XP modifiers
Game.RewardPlayerXP(50, false)