Difference between revisions of "SetActorBaseFlagsLow"

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

Latest revision as of 23:14, 5 March 2017

< [[::Category:Functions|Category:Functions]]

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 bitmask (int). Using unknown flags may cause random behavior.

Syntax

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

Example

int FlagsBitMask
SetActorBaseFlagsLow FlagsBitMask, 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 (creatures)
  • 13 (8192) = unknown
  • 14 (16384) = unknown
  • 15 (32768) = unknown (NPCs), No head (creatures)

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.

See Also