Difference between revisions of "SetPCExpelled"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(CS 1.0 stuff)
imported>Vswe
m (Added Search Terms)
 
(One intermediate revision by one other user not shown)
Line 16: Line 16:


[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: Functions (CS 1.0)]]
[[Category: Faction Functions]]
[[Category: Faction Functions]]
Line 21: Line 22:
[[Category: Player Functions]]
[[Category: Player Functions]]
[[Category: Player Functions (CS 1.0)]]
[[Category: Player Functions (CS 1.0)]]
<!-- Begin Search Terms
Set
PC
Expelled
End Search Terms -->

Latest revision as of 14:57, 20 June 2008

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[edit | edit source]

GetPCExpelled