AddPerk - Actor

From Creation Kit
Jump to: navigation, search

Member of: 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

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

See Also