AddPerk - Actor

Member of: Actor Script

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

SyntaxEdit

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

ParametersEdit

  • 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 ValueEdit

None.

ExamplesEdit

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

See AlsoEdit