AddPerk - Actor

From the CreationKit Wiki
Revision as of 07: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

Function AddPerk(Perk akPerk) native

Parameters

  • akPerk: The Perk to add to this actor.

Return Value

None.

Examples

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

Notes

  • This does nothing for NPCs.

See Also