Difference between revisions of "HasPerk - Actor"
no edit summary
imported>Qazaaq |
imported>Qazaaq |
||
Line 18: | Line 18: | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
; Does the actor have the perk? | |||
Function Example(Actor akActor, Perk akPerk) | Function Example(Actor akActor, Perk akPerk) | ||
If (akActor.HasPerk(akPerk)) | If (akActor.HasPerk(akPerk)) | ||
Debug.Trace("The actor " + akActor + " has the " + akPerk + " perk.") | Debug.Trace("The actor " + akActor + " has the " + akPerk + " perk.") |