SetFactionFlags

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin version 4.75.

Description

Sets flags bitmask of a Faction. Faction flags are:
1 - Hidden from PC (bit 0)
2 - Evil (bit 1)
4 - Special combat (bit 2)
8 - PC expelled from faction (bit 3)
16 - Enemy of PC (bit 4)
32 - PC attacked a faction member (bit 5)
64 - PC murdered a faction member (bit 6)
256 - Track crime (bit 8)
512 - Allow sell (bit 9)

Syntax

[help]
(int) SetFactionFlags faction:baseform flags:int

Example

SetFactionFlags Lucky38Faction 1 

See Also