GetFormFlag
From GECK
A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.
Contents
Description
Returns whether or not a form has the given flag.
Syntax
(bool) GetFormFlag form:form flag:int
Example
if GetFormFlag GSSunnySmiles 1024 ; GSSunnySmiles is persistent endif
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 |
65536 | 16 | Random Anim Start / High Priority LOD |
131072 | 17 | Dangerous / Off limits (Interior cell) / Radio Station (Talking Activator) |
262144 | 18 | Compressed |
524288 | 19 | Can't wait / Platform Specific Texture / Dead |
1048576 | 20 | Unknown 21 |
2097152 | 21 | Load Started (Runtime) // set when beginning to load the form from save |
4194304 | 22 | Unknown 23 |
8388608 | 23 | Unknown 24 // Runtime might use it for "Not dead" on non actors. |
16777216 | 24 | Destructible (Runtime) |
33554432 | 25 | Obstacle / No AI Acquire |
67108864 | 26 | NavMesh Generation - Filter |
134217728 | 27 | NavMesh Generation - Bounding Box |
268435456 | 28 | Non-Pipboy / Reflected by Auto Water |
536870912 | 29 | Child Can Use / Refracted by Auto Water |
1073741824 | 30 | NavMesh Generation - Ground |
2147483648 | 31 | Multibound |