SetPCExpelled

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

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.

Syntax

[help]
SetPCExpelled FactionID:editorID iFlag:bool{0/1}

Example

SetPCExpelled MagesGuild 1 

See Also