AddToFaction

From GECK
(Redirected from Addfac)
Jump to: navigation, search


A function included in the GECK for Fallout 3.

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

[help]
[ActorRefID].AddToFaction FactionID:ref FactionRank:int 

Or:

[ActorRefID].AddFac 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 affects an actor's BaseForm.

See Also