[Command] generatePersonTemporary

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 »

generatePersonTemporary() or
generatePersonTemporary(preset1, preset2, ..., presetN)


USE:
Generate a new actor.
If nothing inside the bracket: completely random actor. Or you can specify the presets to blend into this new actor.

The actor generated using this method will be temporary at first (unless you call MakePermanent() on them later on), meaning they will be deleted with no traces left (not even in a lpcharacter) after the current scene ends.

Useful for loops and for one-off actors like thiefs and prostitutes. Also, your adultery with a temporary actor will never be caught!


TYPE: Command, Non-Ref
RETURNS: Actor
THEME: Actor Creation
COMPARE: generatePerson, blendPreset, makePermanent


EXAMPLE:

Code: Select all

Actor = generatePersonTemporary()  // OR Actor = generatePersonTemporary(easterneuropean, twenties, fitness_model)
Actor.dress()
Actor.show(2)

EXAMPLE2:
exchangeContact(Actor)
this will fail because this is a temporary actor that will be lost forever after the current scene ends.
You need to call MakePermanent first.

Code: Select all

Actor = generatePersonTemporary()
Actor.show()
Actor.makePermanent()
exchangeContact(Actor)
Like my work? Buy me a coffee or support me on Patreon to keep it coming. :ugeek:
-Don't PM me for support-
Top
User avatar
Raddeck
LP Manager
Reactions: 1
Posts: 508
Joined: Sat Oct 16, 2021 6:22 pm
Location: LpWorld
Contact:

Post by Raddeck »

How to create a female:

Code: Select all

Actor = generatePersonTemporary()
While Actor.isMale()
    Actor = generatePersonTemporary()
Endwhile

How to create a male:

Code: Select all

Actor = generatePersonTemporary()
While !Actor.isMale()
    Actor = generatePersonTemporary()
Endwhile
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