GetPerkRank
Revision as of 05:43, 25 January 2015 by imported>Odessa (-1 return is only for invalid usage)
< [[::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
- GetAltPerkRank (for companion perks)
- HasPerk
- AddPerk