AddPerk - Actor

From the CreationKit Wiki
Revision as of 15:26, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(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