Difference between revisions of "CopyHair"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Fixed syntax)
imported>Haama
(→‎Notes: Vampire hack)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  (nothing) reference.CopyHair copyFrom:ref copyTo:ref
  (nothing) ''reference''.CopyHair copyFrom:ref ''copyTo:ref''


Copies the hair style, length, and color from one actor, including the player, to another.
Copies the hair style, length, and color from one actor, including the player, to another. If the first reference is used it will replace CopyTo:ref.


==Notes==
==Notes==
Line 11: Line 11:
*Changes to an NPC will not be visible until the actor is reloaded; calling disable followed by enable a frame later will force the NPC to reload, updating the eyes (and hair).
*Changes to an NPC will not be visible until the actor is reloaded; calling disable followed by enable a frame later will force the NPC to reload, updating the eyes (and hair).
*Changes to the player may not be visible until the game is reloaded.
*Changes to the player may not be visible until the game is reloaded.
**There is a [http://www.bethsoft.com/bgsforums/index.php?s=&showtopic=772701&view=findpost&p=11287099 Vampirism hack] that will refresh the player's hair color, but not the model and length, without the need to reload.


==See Also==
==See Also==

Latest revision as of 02:57, 25 November 2007

A command for Oblivion Script Extender

Syntax:

(nothing) reference.CopyHair copyFrom:ref copyTo:ref

Copies the hair style, length, and color from one actor, including the player, to another. If the first reference is used it will replace CopyTo:ref.

Notes[edit | edit source]

  • Changes to an NPC are not saved in the savegame and will revert to their original upon loading the save game.
    • However, changes to the player will last beyond a savegame.
  • Changes to an NPC will not be visible until the actor is reloaded; calling disable followed by enable a frame later will force the NPC to reload, updating the eyes (and hair).
  • Changes to the player may not be visible until the game is reloaded.
    • There is a Vampirism hack that will refresh the player's hair color, but not the model and length, without the need to reload.

See Also[edit | edit source]