SetFormFlag
From GECK
A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.
Contents
Description
Sets a flag on a form. A flag can function differently depending on if it is active in a Reference or in a BaseForm.
Syntax
SetFormFlag form:form flag:int value:bool
Example
SetFormFlag SunnySmiles 1024 0 ; SunnySmiles is no longer persistent
This same flag can function differently depending on if it is active in a Reference or in a BaseForm. For example:
SetFormFlag GSSunnySmiles 1024 0 ; GSSunnySmiles is no longer a quest item (which is NOT the intended effect)
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 reference |
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 // When used on a cell form with JIP LN it causes the cell to forget the positions of any objects that have been moved (such as movable statics and misc items) which helps avoid save bloat. |
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 |