HasPerk

From GECK

Revision as of 19:17, 27 February 2009 by SnakeChomp (Talk | contribs) (Returns 1/0, not rank)

A function included in the GECK version 1.1.0.36.

Description

Returns 1 if the actor has the specified perk and 0 if not.

Syntax

Actor.HasPerk BaseID:string

Example

player.HasPerk GunNut

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

See Also

Personal tools