Difference between revisions of "HighlightBodyPart"
Jump to navigation
Jump to search
imported>Cipscis m (→Examples) |
imported>Cipscis (→Notes) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=='''Description'''== | =='''Description'''== | ||
'''HighlightBodyPart''' Highlights the specified body part of the calling Object, Item or Actor. It has one optional parameter (which [[Body Part]] to highlight). | '''HighlightBodyPart''' Highlights the specified body part of the calling Object, Item or living Actor. It has one optional parameter (which [[Body Part]] to highlight). | ||
=='''Syntax'''== | =='''Syntax'''== | ||
Line 21: | Line 21: | ||
=='''Notes'''== | =='''Notes'''== | ||
*Calling this function will hide the player's arms and weapon in 1st person view. Entering and leaving VATS will clear this. | *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: | *Only one body part can be highlighted at one time. For example: | ||
player.hbp 3 | player.hbp 3 | ||
brahminRef.hbp 1 | 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. | 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. | ||
*[[Body Part]] numbers: | *[[Body Part]] numbers: | ||
**No Parameter - Everything except Weapon | **No Parameter - Everything except Weapon |
Latest revision as of 23:24, 13 December 2008
Description[edit | edit source]
HighlightBodyPart Highlights the specified body part of the calling Object, Item or living Actor. It has one optional parameter (which Body Part to highlight).
Syntax[edit | edit source]
[RefID.]HighlightBodyPart BodyPart
Examples[edit | edit source]
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[edit | edit source]
- 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.
- Body Part numbers:
- 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
See Also[edit | edit source]
Reference[edit | edit source]
None provided.