HasPerk

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

If checked in a script, returns 1 if the actor has the specified perk and 0 if not. If checked in console, returns the perk rank.

Syntax

[help]
Actor.HasPerk BaseID:string

Example

player.HasPerk GunNut

Returns whether or not the player has the "Gun Nut" perk.

See Also