LifePlay-Revival/Docs/Modding/Command_Functions/selectNPC.txt
edujiro5972 1122e17fa6 L0 : etat initial du projet 5.5 avant toute correction
Instantane de reference de la reprise de migration (2026-09-29).
Contient GI.uasset tel que trouve (copie UE4 identique a 4.27,
MD5 F4550DA5DC05FC005400CDCA2FC123C9). Ajouts de ce commit :
.gitattributes (aucune conversion de fin de ligne), regles .gitignore
CHG-001, Tools/ (Snapshot, Restore, AssetHeaders), empreintes L0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 00:56:10 +02:00

25 lines
No EOL
765 B
Text

selectNPC(optional tag)
USE:
Choose a person from your contacts by leaving the scene temporarily and
opening the Contacts menu. Must be followed by getSelectedNPC().
Basically superior to chooseContact() unless you really don't want to take
the player out of the scene even temporarily.
Optional parameter:
Tag (any): to filter for persons that have the given tag assigned.
The tag command was introduced with LifePlay 2.17 and can be used to filter the contact
list by a certain tag. (The player can not modify this query, so you force him to pick a
person that has this tag, or none.)
TYPE: Command, Non-Ref
RETURNS: /
THEME: Acquaintance
COMPARE: chooseContact()
EXAMPLE:
"Who should be my first guest?"
selectNPC()
Guest1 = getSelectedNPC()