Mod:Creation Kit/AddPerk - Actor

Member of: Mod:Creation Kit/Actor Script

Adds the specified Perk to this actor. This function now works on both the player and NPCs.

Syntax
Function AddPerk(Perk akPerk, bool abNotify = false) native

Parameters

 * akPerk: The Perk to add to this actor.
 * abNotify: Display a message if true and the perk is being added to the player.
 * Default = false

Return Value
None.

Examples
Game.GetPlayer.AddPerk(AwesomePerk)
 * Adds the awesome perk to the player