Description
Wiki Description
Rewards the player with a certain amount of XP, optionally bypassing any XP modifiers.
Documentation Comment
Rewards the player with XP, if direct is true, then will ignore various XP adjustments like entry points and intelligence
Caveats
Parameters
intauiXPAmount
CK Wiki Description
The amount of XP to reward the player
boolabDirect=false
CK Wiki Description
If true, will bypass any XP modifiers applied to the player and reward the XP 'directly'.
- Default:False
Examples
; Give the player 50 XP
Game.RewardPlayerXP(50); Give the player 50 XP, unaffected by XP modifiers
Game.RewardPlayerXP(50, false)Auto-Generated Example
int myInt__auiXPAmount
bool myBool__abDirect
Game.RewardPlayerXP(myInt__auiXPAmount, myBool__abDirect)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
