GetFlagsHigh

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

As GetFlagsLow, but returns the second 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.

Syntax

[help]
(Mask:int) reference.GetFlagsHigh Target:form 

Example

int FlagsMask
set FlagsMask to GetFlagsHigh Weap10mmPistol

Bit fields

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

Flag Bit Setting
1 0 Random Anim Start / High Priority LOD
2 1 Dangerous / Off limits (Interior cell) / Radio Station (Talking Activator)
4 2 Compressed
8 3 Can't wait / Platform Specific Texture / Dead
16 4 Unknown 21
32 5 Load Started (Runtime) // set when beginning to load the form from save
64 6 Unknown 23
128 7 Unknown 24 // Runtime might use it for "Not dead" on non actors.
256 8 Destructible (Runtime)
512 9 Obstacle / No AI Acquire
1024 10 NavMesh Generation - Filter
2048 11 NavMesh Generation - Bounding Box
4096 12 Non-Pipboy / Reflected by Auto Water
8192 13 Child Can Use / Refracted by Auto Water
16384 14 NavMesh Generation - Ground
32768 15 Multibound

See Also