SetActorBaseFlagsLow

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Sets the low base flags of the specified actor or calling reference to the specified combined bit value (int). Using unknown flags may cause random behavior.

Syntax

[help]
(none) reference.SetActorBaseFlagsLow FlagsMask:int NPC:BaseForm 

Example

int FlagsMask
SetActorBaseFlagsLow FlagsMask, SomeNPC

Bit fields

Flag Bit NPC Creature
1 0 Female Biped
2 1 Essential Essential
4 2 Is CharGen Face Preset Weapon & Shield?
8 3 Respawn Respawn
16 4 Auto-calc stats Swims
32 5 Unknown 5 Flies
64 6 Unknown 6 Walks
128 7 PC Level Mult PC Level Mult
256 8 Unknown 8 Unknown 8
512 9 No Low-Level Processing No Low-Level Processing
1024 10 Unknown 10 Unknown 10
2048 11 No Blood Spray No Blood Spray
4096 12 No Blood Decal No Blood Decal
8192 13 Unknown 13 Unknown 13
16384 14 Unknown 14 Unknown 14
32768 15 Unknown 15 No Head

Notes

  • Bit 8 (256) was described as "use template", but checking it on a templated base form or a base form used as a template always returns 0.
  • Bits 11 & 12 operate in the opposite way compared to the Geck. While in the geck, NPCs are flagged if they have blood spray and decal, the bits are only 1 if they don't.

See Also