Difference between revisions of "GetPCFactionSubmitAuthority"

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


[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: Functions (CS 1.0)]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]
Line 28: Line 29:
[[Category: Player Functions]]
[[Category: Player Functions]]
[[Category: Player Functions (CS 1.0)]]
[[Category: Player Functions (CS 1.0)]]
<!-- Begin Search Terms
Get
PC
Faction
Submit
Authority
End Search Terms -->

Latest revision as of 09:18, 20 June 2008

Syntax:

GetPCFactionSubmitAuthority GuardFactionID 

Example:

GetPCFactionSubmitAuthority ICFaction


When the player allows himself to be arrested (either by going to jail or paying the fine), this flag is set with the arresting guard's faction (if the guard belongs to more than one faction, the guard's first faction is what is set).


GetPCFactionSubmitAuthority returns 1 if the GuardFactionID matches the faction of the arresting guard -- basically, you can tell which guard faction the player was arrested by.


Reset this flag using SetPCFactionSubmitAuthority.


See Also[edit | edit source]

SetPCFactionSubmitAuthority