GetPerkRank

From the Fallout3 GECK Wiki
Revision as of 05:43, 25 January 2015 by imported>Odessa (-1 return is only for invalid usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns the rank of the specified perk. This function may only be called on the player. Returns -1 if the perk argument or calling reference is null. Added by NVSE 4.5.

Syntax

[help]
(int) PlayerREF.GetPerkRank Target:perk

Example

int iRank

let iRank := PlayerREF.GetPerkRank LordDeathChallengePerk

See Also