AddPerk - Actor

From the CreationKit Wiki
Revision as of 08:19, 12 July 2023 by Ingvion (talk | contribs) (→‎Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Actor Script

Adds the specified Perk to this actor.

Syntax[edit | edit source]

Function AddPerk(Perk akPerk) native

Parameters[edit | edit source]

  • akPerk: The Perk to add to this actor.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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

Notes[edit | edit source]

  • This does nothing for NPCs.

See Also[edit | edit source]