invisible Narrator?
Posted: Wed Sep 23, 2015 11:38 pm
I've got some dialogue entries that are supposed to come from an omnicient/invisible "Narrator". How is this best done?
I'm kicking this off via code, calling DialogueSystemController.StartConversation("conversation name").
So far, I've just created a transparent PNG for the portrait, since otherwise there's a big white square where the portrait should be. But I'm getting warnings after every line of narration, such as these:
And these:
Am I going to need to place an invisible object called "Narrator" into my scene? I'm not using the camera zooming at all for my game. Is this still needed?
I'm kicking this off via code, calling DialogueSystemController.StartConversation("conversation name").
So far, I've just created a transparent PNG for the portrait, since otherwise there's a big white square where the portrait should be. But I'm getting warnings after every line of narration, such as these:
Code: Select all
Dialogue System: Sequencer: Camera subject '' wasn't found.
UnityEngine.Debug:LogWarning(Object)
PixelCrushers.DialogueSystem.Sequencer:TryHandleCameraInternally(String, String[])
PixelCrushers.DialogueSystem.Sequencer:HandleCommandInternally(String, String[], Single&)
PixelCrushers.DialogueSystem.Sequencer:ActivateCommand(String, String, String[])
PixelCrushers.DialogueSystem.Sequencer:PlayCommand(String, Boolean, Single, String, String, String[])
PixelCrushers.DialogueSystem.Sequencer:PlaySequence(String)
PixelCrushers.DialogueSystem.Sequencer:PlaySequence(String, Boolean, Boolean)
PixelCrushers.DialogueSystem.ConversationView:StartSubtitle(Subtitle, Boolean, Boolean)
PixelCrushers.DialogueSystem.ConversationController:GotoState(ConversationState)
PixelCrushers.DialogueSystem.ConversationController:OnFinishedSubtitle(Object, EventArgs)
PixelCrushers.DialogueSystem.ConversationView:FinishSubtitle()
PixelCrushers.DialogueSystem.ConversationView:OnConversationContinue()
UnityEngine.Component:SendMessage(String, SendMessageOptions)
PixelCrushers.DialogueSystem.AbstractDialogueUI:OnContinue()
PixelCrushers.DialogueSystem.UnityUIDialogueUI:OnContinue() (at Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUIDialogueUI.cs:108)
PixelCrushers.DialogueSystem.UnityUIContinueButtonFastForward:OnFastForward() (at Assets/Dialogue System/Scripts/Supplemental/UI/Effects/UnityUIContinueButtonFastForward.cs:32)
UnityEngine.EventSystems.EventSystem:Update()
Code: Select all
Dialogue System: Sequencer: Camera subject 'listener' wasn't found.
UnityEngine.Debug:LogWarning(Object)
PixelCrushers.DialogueSystem.Sequencer:TryHandleCameraInternally(String, String[])
PixelCrushers.DialogueSystem.Sequencer:HandleCommandInternally(String, String[], Single&)
PixelCrushers.DialogueSystem.Sequencer:ActivateCommand(String, String, String[])
PixelCrushers.DialogueSystem.Sequencer:CheckQueuedCommands()
PixelCrushers.DialogueSystem.Sequencer:Update()