[Command] addToPeopleHere

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.addToPeopleHere()


USE:
Adds the given actor to those that shall be at the current location.
Used for allowing an actor called in during a scene to stay around your current location even after the scene finishes


BACKGROUND:
All actors that should not be at the current location (NPCs based on their AI schedule or MC/companion/creature) will be removed at the end of a scene.
To prevent that you will have to call this function on the actor that you want to stay in the scene.


TYPE: Command, Non-Ref
RETURNS: /
THEME: Actors
COMPARE:


EXAMPLE:

Code: Select all

        Actor = generatePersonTemporary() 
        Actor.show()
        Actor.addToPeopleHere() // Will stay in the location after the scene ends...
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