Spawn an NPC during conversation

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Spawn an NPC during conversation

Post by hrohibil »

Toni how can I link own scripts to specific actions ?

Let’s say I want to spawn an NPC, but only when player has started a conversation.

Meaning player is asking an NPC where to find a specific NPC
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Spawn an NPC during conversation

Post by Tony Li »

You can use custom sequencer commands (see the Cutscene Sequence Tutorials), or register your C# methods with Lua and use them in Script fields, or use scene events.
Post Reply