Forcing an actor to use only specific panel

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Forcing an actor to use only specific panel

Post by fkkcloud »

Hi,

Is there a way to force an actor to use a specific panel always without setting it manually everytime?

For instance,
I have TV Anchor and I want it to use [panel=4]. Maybe I can add it somehow in OnConversationLine? to add " [panel=4] " in front of it if the Actor is "TV Anchor"?

Edit: just a thought, but might be useful if we have 2 things that can be set under Actors tab. Besides the Description.
1. set a preferred panel ID, if none set, it would be 0 or 1 for the player.
2. set a default command line sequence? I know this can be done via making a shortcut {{actorName_default}} but might be useful to state in that specific UI
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Forcing an actor to use only specific panel

Post by Tony Li »

Hi,

Add a Dialogue Actor component to the TV Anchor. Set Dialogue UI Settings > Subtitle Panel Number to panel 4.

If you don't want to do that, you can use the SetPanel() sequencer command at the beginning of the conversation. Example:

Code: Select all

SetPanel(TV Anchor, 4)
Post Reply