GetPCFactionSubmitAuthority

Revision as of 23:42, 6 July 2007 by imported>Haama (Category links)

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

SetPCFactionSubmitAuthority