Difference between revisions of "GetActorBaseFlagsLow"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Hemingway
(Added bit numbers)
imported>DoctaSax
(Additions, corrections)
 
Line 18: Line 18:
</pre>
</pre>
==Actor Base Flags Low==
==Actor Base Flags Low==
*0 (1) = female
*0 (1) = female (NPCS), unknown (creatures)
*1 (2) = essential
*1 (2) = essential (NPCs & creatures)
*2 (4) = has chargen face
*2 (4) = has chargen face (NPCs), "weapon&shield?" (creatures, per FNVEdit)
*3 (8) = respawn
*3 (8) = respawn (NPCs & creatures)
*4 (16) = auto-calc stats
*4 (16) = auto-calc stats (NPCs), swims (creatures)
*5 (32) = unknown
*5 (32) = unknown (NPCs), flies (creatures)
*6 (64) = unknown
*6 (64) = unknown (NPCs), walks (creatures)
*7 (128) = pc level mult
*7 (128) = pc level mult (NPCs & creatures)
*8 (256) = use template
*8 (256) = unknown
*9 (512) = no low-level processing
*9 (512) = no low-level processing (NPCs & creatures)
*10 (1024) = unknown
*10 (1024) = unknown
*11 (2048) = no blood spray
*11 (2048) = no blood spray (NPCs), unknown (creatures)
*12 (4096) = no blood decal
*12 (4096) = no blood decal (NPCs), unknown (creatuers)
*13 (8192) = unknown
*13 (8192) = unknown
*14 (16384) = unknown
*14 (16384) = unknown
*15 (32768) = unknown
*15 (32768) = unknown (NPCs), No head (creatures)
==See Also==
==See Also==
*[[SetActorBaseFlagsLow]]
*[[SetActorBaseFlagsLow]]
Line 41: Line 41:
*[[ClearBit]]
*[[ClearBit]]
[[Category:Functions_(NVSE)]]
[[Category:Functions_(NVSE)]]
==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.

Latest revision as of 21:38, 5 March 2017

< [[::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.