[Command] getSelectedNpc

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 »

getSelectedNPC()


USE:
Choose a person from your contacts by leaving the scene temporarily and opening the Contacts menu.
Must be preceded by selectNPC().
Basically superior to chooseContact() unless you really don't want to take the player out of the scene even temporarily.


TYPE: Command, Non-Ref
RETURNS: Actor
THEME: Acquaintance
COMPARE: chooseContact()


EXAMPLE:

Code: Select all

    "Who should be my first guest?"
    selectNPC()
    Guest1 = getSelectedNPC()
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