HasPerk - Actor
Jump to navigation
Jump to search
Member of: Actor Script (Papyrus)
Checks to see if this actor has the given Perk.
Syntax[edit | edit source]
bool Function HasPerk(Perk akPerk) native
Parameters[edit | edit source]
- akPerk: The Perk to check.
Return Value[edit | edit source]
Whether the actor has the given Perk or not.
Examples[edit | edit source]
; Does the player have the super perk?
if (Game.GetPlayer().HasPerk(SuperPerk))
Debug.Trace("The player has the super perk")
endIf