HasPerk - Actor

Member of: Actor Script (Papyrus)

Checks to see if this actor has the given Perk.

SyntaxEdit

bool Function HasPerk(Perk akPerk) native

ParametersEdit

  • akPerk: The Perk to check.

Return ValueEdit

Whether the actor has the given Perk or not.

ExamplesEdit

; Does the player have the super perk?
if (Game.GetPlayer().HasPerk(SuperPerk))
  Debug.Trace("The player has the super perk")
endIf

See AlsoEdit