SetFlagsLow

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Sets all of the first set of individual flags for a form to those specified by the bitmask int. See GetFlagsLow for explanation of what the bits mean, and various warnings.

Syntax

[help]
(none) reference.SetFlagsLow FlagsBitMask:int Target:form 

Bit fields

This is adapted from FNVEdit. As a minimum, one should not make changes to anything labelled "Runtime".

Flag Bit Setting
1 0 ESM
2 1 Unknown 1
4 2 Unknown 2 (Runtime) / Plugin selected (Editor)
8 3 Form cannot be saved (Runtime) / Plugin active (Editor)
16 4 Form initialized (Runtime) / Plugin cannot be active or selected (Editor)
32 5 Deleted
64 6 Border Region / Has Tree LOD / Constant / Hidden From Local Map / Plugin Endian
128 7 Turn Off Fire
256 8 Inaccessible
512 9 Casts shadows / On Local Map / Motion Blur
1024 10 Quest item / Persistent reference
2048 11 Initially disabled
4096 12 Ignored
8192 13 No Voice Filter
16384 14 Cannot Save (Runtime)
32768 15 Visible when distant

See Also