GetFactionFlags

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin version 4.75.

Description

Returns 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) GetFactionFlags faction:baseform

Example

int iFlags = GetFactionFlags Lucky38Faction 

See Also