AddPerk - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

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

Syntax[edit | edit source]

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

Parameters[edit | edit source]

  • 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[edit | edit source]

None.

Examples[edit | edit source]

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

See Also[edit | edit source]