Difference between revisions of "AddToFaction"

From GECK

m
 
Line 8: Line 8:
 
   {{FunctionArgument
 
   {{FunctionArgument
 
   |Name = FactionID
 
   |Name = FactionID
 +
  |Type = ref
 
   }}{{FunctionArgument
 
   }}{{FunctionArgument
 
   |Name = FactionRank
 
   |Name = FactionRank

Latest revision as of 05:07, 15 January 2011

A function included in the GECK version 1.1.0.36.

Description

Adds an actor (only the reference not the base object) into a faction. It is called on the Reference and has two parameters: the faction, and the faction rank.

Syntax

[ActorRefID].AddToFaction FactionID:ref FactionRank:int

Example

BuddyRef.AddToFaction AntFaction 1

BuddyRef is now in the AntFaction at rank 1, but not all Buddy base objects are in the AntFaction.

Notes

  • This does not work the same as SetFactionRank, which is called on the base form.
  • This function is new in the GECK, and was not available in the TES4 Construction Set.

See Also

Personal tools