Difference between revisions of "GetAltPerkRank"
Jump to navigation
Jump to search
imported>Odessa (created) |
imported>Odessa (-1 return is only for invalid usage) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = NVSE | |origin = NVSE | ||
|summary = Returns the rank of the specified companion perk | |summary = Returns the rank of the specified companion perk. This function may only be called on the player. Returns <b>-1</b> if the perk argument or [[calling reference]] is null. Added by NVSE 4.5. | ||
|name = GetAltPerkRank | |name = GetAltPerkRank |
Latest revision as of 05:45, 25 January 2015
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns the rank of the specified companion 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.GetAltPerkRank Target:perk
See Also
- GetPerkRank (for normal perks)
- HasPerk
- AddPerk