GetFlagsLow

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns the first set of individual flags for the specified form, which may be of any type. Beware that not all flags should be modified, or have a (known) purpose, and their effects may differ dependent on form type. Added by NVSE 4.6.3.

See GetEquipmentSlotsMask for an example of checking for a specific bit.

Syntax

[help]
(Bitmask:int) reference.GetFlagsLow Target:form

Example

int FlagsBitMask
set FlagsBitMask to GetFlagsLow Weap10mmPistol

Bit fields

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

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

See Also