Difference between revisions of "MatchRace"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>Cipscis
(Updated to use function template, clarified parameter as a RefID)
Line 1: Line 1:
[[MatchRace]] changes an actor's race to match another actor's current race.  
{{Function
|origin = GECK1
|summary = Changes an actor's race to match another actor's current race.
|referenceType = Actor
|arguments = {{FunctionArgument
    |Name = ActorRefID
    |Type = ref
  }}
|example = JoeREF.MatchRace player


=='''Syntax'''==
JoeREF will be set to match the player's current race.
[ActorRef].MatchRace ''Actor_ID''
}}


=='''Examples'''==
JoeREF.MatchRace Player
Joe will be set to match the player's current race.
=='''Notes'''==
=='''Notes'''==
*Any character this is done to uses the default face textures for their new race.
*Any character this is done to uses the default face textures for their new race.

Revision as of 23:06, 27 February 2009

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

A function included in the GECK version 1.1.0.36.

Description

Changes an actor's race to match another actor's current race.

Syntax

[help]
Actor.MatchRace ActorRefID:ref

Example

JoeREF.MatchRace player

JoeREF will be set to match the player's current race.

Notes

  • Any character this is done to uses the default face textures for their new race.

See Also