GetBaseNthFaction

From the Fallout3 GECK Wiki
Revision as of 07:00, 16 September 2014 by imported>Odessa (created)
(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 Nth faction of the baseform of the calling reference or specified form. The order of factions matches that of GetBaseNthRank. Added by NVSE 4.5.

Syntax

[help]
(faction) actor.GetBaseNthFaction NthFaction:int Target:actor-character-creature

Example

ref rFaction

let rFaction := SunnyREF.GetBaseNthFaction 1

See Also