Difference between revisions of "AddToFaction"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
Line 24: Line 24:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]
[[Category:Faction Functions]]
[[Category:Faction Functions]]
[[Category:Faction Functions (GECK 1.0)]]
[[Category:Faction Functions (GECK 1.1)]]

Revision as of 10:45, 15 August 2009

Description

AddToFaction 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

[ActorREF.]AddToFaction Faction FactionRank

Examples

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

RemoveFromFaction

Reference

None provided.