Editing AgeRace

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Function
[[AgeRace]] changes an actor to be an older or younger version of their current race.  
|origin = GECK1
|summary = [[AgeRace]] changes an actor to be an older or younger version of their current race.  


In Fallout 3, this command is used only to set the player's age from adult to child before the vault tutorial quest and the Tranquility Lane quest, and back to adult again on completion of these quests.
In Fallout 3, this command is used only to set the player's age from adult to child before the vault tutorial quest and the Tranquility Lane quest, and back to adult again on completion of these quests.
Line 16: Line 14:


They also all have eg "AsianOldAged" versions, but the ~OldAged versions are not chained with the "older"/"younger" dropdowns, so are ignored by the AgeRace command.
They also all have eg "AsianOldAged" versions, but the ~OldAged versions are not chained with the "older"/"younger" dropdowns, so are ignored by the AgeRace command.
|name = AgeRace
 
|returnType = void
=='''Syntax'''==
  |referenceType = [ActorRefID]
  [ActorRef].AgeRace ''AgeValue''
|arguments =  
 
  {{FunctionArgument
=='''Examples'''==
  |Name = AgeValue
  JoeREF.AgeRace -2
  |Type = int
  }}
  |example = JoeREF.AgeRace -2
Whatever the age of Joe, he will be changed to be the child version of his current race.
Whatever the age of Joe, he will be changed to be the child version of his current race.


Player.AgeRace 1
Player.AgeRace 1
If the player is currently a child, he will be changed to be the adult version of his current race. If the player is an adult, they will be changed to an old person. If the player is already old, they will be left unchanged.
If the player is currently a child, he will be changed to be the adult version of his current race. If the player is an adult, they will be changed to an old person. If the player is already old, they will be left unchanged.
}}


==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.  
**If the player's chosen hair is now invalid for the changed race, the default hair is shown instead. If you change them back, their hair will be restored.
**If the player's chosen hair is now invalid for the changed race, the default hair is shown instead. If you change them back, their hair will be restored.
Line 40: Line 34:
*This function is new in the GECK, and was not available in the TES4 Construction Set.
*This function is new in the GECK, and was not available in the TES4 Construction Set.


==See Also==
=='''See Also'''==
*[[MatchRace]]
*[[MatchRace]]
*[[SetPCYoung]]
*[[SetPCYoung]]

Please note that all contributions to the Fallout3 GECK Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see GECK:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)