Mod:Creation Kit/RewardPlayerXP - Game

Member of: Mod:Creation Kit/Game Script

Rewards the player with a certain amount of XP, optionally bypassing any XP modifiers.

Syntax
Function RewardPlayerXP(int auiXPAmount, bool abDirect = false) native global

Parameters

 * 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 Value
None

Examples
Game.RewardPlayerXP(50) Game.RewardPlayerXP(50, false)
 * Give the player 50 XP
 * Give the player 50 XP, unaffected by XP modifiers