LifePlay-Revival/Docs/Modding/Command_Functions/addNpcRelationship.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

30 lines
No EOL
1 KiB
Text

addNpcRelationship(Type, Actor1, Actor2, ..., ActorN)
USE:
Add (or change if a relationship already exists) a relationship between 2 or more NPCs. The list for 'Type' is:
- Dating (2 actors only)
- Spouses (2 actors only)
- Siblings
- ParentChild (2 actors only, parent is Actor1, child is Actor2)
- Cousins
- BossEmployee (2 actors only, Boss is Actor1, employee is Actor2)
- Colleagues
TYPE: Command, non-Ref
RETURNS: /
THEME: NPC-NPC
COMPARE: removeNPCRelationship, hasRelationship
EXAMPLE:
addNpcRelationship(Dating, John, Maria)
"John and Maria have started dating. What a matchmaker I was!"
"A few months later ..."
addNPCRelationship(Spouses, John, Maria) // The 'dating' relationship will be upgraded to spouses
Jack:: "Have you met my brother, Jason?"
addNpcRelationship(Siblings, Jack, Jason)
"A few days later ... in a seperate scene perhaps"
Jack:: "Here's my sister, Natalie."
addNPCRelationship(Siblings, Jack, Natalie)
"The game will now also recognize Jason and Natalie as siblings."