Background for Skyrim SE
Member of the Actor script
boolfunctionHasPerk(PerkakPerk)Native

Description

Wiki Description

Checks to see if this actor has the given Perk.

Documentation Comment

Checks to see if this actor has the given Perk


Caveats


Parameters

PerkakPerk

CK Wiki Description

The Perk to check.


Examples

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

Auto-Generated Example

Perk myPerk__akPerk

bool returnedValue = myActor__toCallFunctionOn.HasPerk(myPerk__akPerk)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.