GetActiveRanks
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns an array containing the current (active) ranks for each faction to which the the calling reference belongs. The order of ranks corresponds to the factions returned by GetActiveFactions. Note that in Fallout New Vegas, ranks are largely unused are usually zero. Added by NVSE 4.5.
Syntax
(array) actor.GetActiveRanks Target:Actor
Example
array_var Sunny_Ranks Let Sunny_Ranks := SunnyREF.GetActiveRanks
Ar_Dump Sunny_Ranks would print (as in most vanilla cases, all zero):
** Dumping Array #16 ** Refs: 1 Owner 0B: nvse-test.esp [ 0.000000 ] : 0.000000 [ 1.000000 ] : 0.000000 [ 2.000000 ] : 0.000000 [ 3.000000 ] : 0.000000 [ 4.000000 ] : 0.000000 [ 5.000000 ] : 0.000000