HighlightBodyPart

From GECK
(Redirected from HBP)
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Highlights the specified body part of the calling Object, Item or living Actor.

This function is session-persistent.

It has one optional parameter (which Body Part to highlight).
No Parameter - Everything except Weapon
0 - Torso
1 - Head1
2 - Head2
3 - LeftArm1
4 - LeftArm2
5 - RightArm1
6 - RightArm2
7 - LeftLeg1
8 - LeftLeg2
9 - LeftLeg3
10 - RightLeg1
11 - RightLeg2
12 - RightLeg3
13 - Brain
14 - Weapon
15 - Everything except Weapon


Console Functions are normally exclusively for use in the in-game Console (accessible by pressing "~").

With JIP LN NVSE Plugin, any console function can be used in scripts with the Console function.

Syntax

[help]
Actor.HighlightBodyPart bodyPartID:int 

Examples

brahminRef.HighlightBodyPart 2

Brahmin's left head is now highlighted

player.HighlightBodyPart

The player's entire body, excluding their weapon, is now highlighted

player.hbp 14

The player's weapon is now highlighted

dartGunRef.hbp

Dart Gun is now highlighted

dartGunRef.hbp 14

Nothing is highlighted (as the Dart Gun has no weapon), but the player's weapon is still hidden in 1st person view

Notes

  • Calling this function will hide the player's arms and weapon in 1st person view. Entering and leaving VATS will clear this, as will attempting to use hbp on a dead Actor.
  • The player can be highlighted in in 1st person view without affecting the player in 3rd person view, and vice versa.
  • The highlight can be viewed through any objects.
  • Only one body part can be highlighted at one time. For example:
player.hbp 3
brahminRef.hbp 1

Now the Brahmin's right head will be highlighted and the Player's left arm will not be highlighted. Entering and leaving VATS will clear all highlighted body parts, as will attempting to use hbp on a dead Actor.

See Also