GetActorBaseFlagsLow

From the Fallout3 GECK Wiki
Revision as of 21:38, 5 March 2017 by imported>DoctaSax (Additions, corrections)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns the low base flags of the specified actor or calling reference, as a bitmask (int).

Syntax

[help]
(int) reference.GetActorBaseFlagsLow NPC:BaseForm

Example

int FlagsBitMask
set FlagsBitMask to GetActorBaseFlagsLow SomeNPC

Actor Base Flags Low

  • 0 (1) = female (NPCS), unknown (creatures)
  • 1 (2) = essential (NPCs & creatures)
  • 2 (4) = has chargen face (NPCs), "weapon&shield?" (creatures, per FNVEdit)
  • 3 (8) = respawn (NPCs & creatures)
  • 4 (16) = auto-calc stats (NPCs), swims (creatures)
  • 5 (32) = unknown (NPCs), flies (creatures)
  • 6 (64) = unknown (NPCs), walks (creatures)
  • 7 (128) = pc level mult (NPCs & creatures)
  • 8 (256) = unknown
  • 9 (512) = no low-level processing (NPCs & creatures)
  • 10 (1024) = unknown
  • 11 (2048) = no blood spray (NPCs), unknown (creatures)
  • 12 (4096) = no blood decal (NPCs), unknown (creatuers)
  • 13 (8192) = unknown
  • 14 (16384) = unknown
  • 15 (32768) = unknown (NPCs), No head (creatures)

See Also

Notes

  • 1. 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.
  • 2. 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.