SetPCFactionAttack

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

Syntax:

SetPCFactionAttack FactionID iFlag

Example:

SetPCFactionAttack ThievesGuild 0


The "faction attack" flag for a faction is set automatically whenever the player attacks a member of that faction (regardless of whether this was reported as a crime or not). You can also set this attack flag manually by using this function with iFlag = 1.


This function is normally used to clear the flag by passing in iFlag = 0.


See Also[edit | edit source]

GetPCFactionAttack