SetPCExpelled

From the Oblivion ConstructionSet Wiki
Revision as of 08:14, 14 February 2006 by imported>Maturin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:

SetPCExpelled FactionID iFlag

Example:

SetPCExpelled MagesGuild 1


When iFlag is 1, expels the player from the specified faction, and sets the "expelled" flag to true (see GetPCExpelled). If the player is in a faction-owned cell, he will be moved outside through the nearest door.


When iFlag is 0, clears the "expelled" flag.


See Also

GetPCExpelled