GetPerkRank

< [[::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

(int) PlayerREF.GetPerkRank Target:perk

Example

int iRank

let iRank := PlayerREF.GetPerkRank LordDeathChallengePerk

See Also