AddPerk - Actor

Revision as of 08:19, 12 July 2023 by Ingvion (talk | contribs) (→‎Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Actor Script

Adds the specified Perk to this actor.

SyntaxEdit

Function AddPerk(Perk akPerk) native

ParametersEdit

  • akPerk: The Perk to add to this actor.

Return ValueEdit

None.

ExamplesEdit

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

NotesEdit

  • This does nothing for NPCs.

See AlsoEdit