Difference between revisions of "AddToFaction"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Scornett-Bot
m (Script running global find and replace: = for '''=)
(No difference)

Revision as of 18:08, 2 December 2011

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)