[Command] randomizeFace

Post Reply
User avatar
Raddeck
LP Manager
Reactions: 1
Posts: 508
Joined: Sat Oct 16, 2021 6:22 pm
Location: LpWorld
Contact:

Post by Raddeck »

Actor.randomizeFace()


USE:
Randomize the actor's face and skin.
Commonly called after blendpreset (which might change the gender which resets the actor to the default face and hair for that gender)


TYPE: Command, Reference
RETURNS: /
THEME: Looks
COMPARE: randomizeHairs, blendPreset


EXAMPLE:

Code: Select all

    // 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()
Like my work? Buy me a coffee or support me on Patreon to keep it coming. :ugeek:
-Don't PM me for support-
Top
Post Reply