how can I have the camera revert to the default player after the dialogue ends?
how can I have the camera revert to the default player after the dialogue ends?
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 (132.07 KiB) Viewed 82 times
-
- 5c182dba46edb855f14c283369a8d6e.png (86.94 KiB) Viewed 82 times
Re: how can I have the camera revert to the default player after the dialogue ends?
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.
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.