Difference between revisions of "HighlightBodyPart"

461 bytes added ,  00:24, 14 December 2008
imported>Cipscis
(Added information for HighlightBodyPart based on observations in game)
imported>Cipscis
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
=='''Description'''==
=='''Description'''==


'''HighlightBodyPart''' Highlights the specified body part of the calling 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'''==


  [''ActorID''.]HighlightBodyPart ''BodyPart''
  [''RefID''.]HighlightBodyPart ''BodyPart''


=='''Examples'''==
=='''Examples'''==
Line 15: Line 15:
  player.hbp 14
  player.hbp 14
The player's weapon is now highlighted
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'''==
=='''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
Anonymous user