AddToFaction

From the CreationKit Wiki
Revision as of 17:08, 2 December 2011 by imported>Scornett-Bot (Script running global find and replace: = for '''=)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 TrollFaction 1

BuddyRef is now in the TrollFaction, but not all Buddy base objects are in the Troll Faction.

See Also

RemoveFromFaction

Reference

None provided.

Papyrus Version

Actor.SetFactionRank (Papyrus)