how can I have the camera revert to the default player after the dialogue ends?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
hhyu
Posts: 11
Joined: Fri Jul 05, 2024 9:31 am

how can I have the camera revert to the default player after the dialogue ends?

Post by hhyu »

I used CinemachineTarget, which allows me to direct the dialogue towards the speaker. However, how can I have the camera revert to the default player after the dialogue ends?
Attachments
9c36ff4e4bdc8bf4eeb92b9006fd073.png
9c36ff4e4bdc8bf4eeb92b9006fd073.png (132.07 KiB) Viewed 82 times
5c182dba46edb855f14c283369a8d6e.png
5c182dba46edb855f14c283369a8d6e.png (86.94 KiB) Viewed 82 times
User avatar
Tony Li
Posts: 22037
Joined: Thu Jul 18, 2013 1:27 pm

Re: how can I have the camera revert to the default player after the dialogue ends?

Post by Tony Li »

Hi,

You can use CinemachineTarget() to target the player in the last dialogue entry node of the conversation.

Or add a Dialogue System Trigger to the player. Set its Trigger to OnConversationEnd. Select Add Action > Play Sequence. Then add the CinemachineTarget() sequence to target the player.
Post Reply