GetFactions

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns an array_var containing all the factions an Actor is a member of.

  • If the optional baseActor argument is specified, the returned array will contain the default factions of the base actor.
  • If the argument is omitted, the returned array will contain all the factions the calling actor reference is currently a member of.

Syntax

[help]
(factions:array_var) reference.GetFactions baseActor:form

Example

let aFactions := RoseOfSharonCassidyRef.GetFactions
let aFactions := GetFactions RoseOfSharonCassidy 

See Also