LifePlay-Revival/Docs/Modding/Functions/blendPreset.txt

10 lines
448 B
Text
Raw Normal View History

2018-04-05 21:18:14 +00:00
Actor.blendPreset(PresetID)
Blend this actor with a preset, usually called after generatePerson().
EXAMPLE:
// We want a male bodybuilder
Bodybuilder = generatePerson() // just so that we get the random stats etc, but this might generate a female
Bodybuilder.blendPreset(bodybuilder) // if the above is female, then this will reset face and hair to the default male face and hair
Actor.randomizeFace()
Actor.randomizeHairs()