How do I get a sequence to run after a response has been chosen?
What I am trying to do is:
For player when doing response..
Set camera to closeup
player enters response
Sequence to play Salsa audio
Switchs to conversant
Camera to close up. Plays Audio...waits for it to end
goes to next node
I have the following
Default Sequence
Camera(Closeup,listener);
Default player sequence
Camera(Closeup,listener);SALSA(Player_1_5,listener)->Message(ALLDONE)
Just missing how to get my player to "talk" after a choice is made.
Question on Sequences
Re: Question on Sequences
Hi,
On player nodes (blue), the speaker is the player. Change this sequence:
to this:
However, the Default Player Sequence probably isn't the best place for that sequence.
Leave the Default Player Sequence blank. Instead, inspect the player response node. Set its Sequence field to something like:
If you don't want to have to type that for every player response node, consider using entrytags. (The Cutscene Sequences tutorials go into more detail about entrytags.) Then you can use the Default Player Sequence, setting it to something like:
BTW, if every line (NPC and player) is voice acted, you can typically leave the Default Player Sequence blank, and set the Default Sequence to:
(I omitted the 'speaker' keyword because it's implied if it's not provided.)
On player nodes (blue), the speaker is the player. Change this sequence:
Code: Select all
Camera(Closeup,listener);SALSA(Player_1_5,listener)->Message(ALLDONE)
Code: Select all
Camera(Closeup,speaker);SALSA(Player_1_5,speaker)->Message(ALLDONE)
Leave the Default Player Sequence blank. Instead, inspect the player response node. Set its Sequence field to something like:
Code: Select all
Camera(Closeup,speaker);
SALSA(Player_1_5, speaker)->Message(PLAYER_SPOKE);
Camera(Closeup,listener)@Message(PLAYER_SPOKE)
SALSA(NPC_1_6, listener)@Message(PLAYER_SPOKE)
Code: Select all
Camera(Closeup,speaker);
SALSA(entrytag, speaker)->Message(PLAYER_SPOKE);
Camera(Closeup,listener)@Message(PLAYER_SPOKE)
Code: Select all
Camera(Closeup);
SALSA(entrytag)
Re: Question on Sequences
Thank you
I actually understand it now.
Yes...I do intend to use entrytags. I just hardcode 2 audioclips till I could debug it.
I ended up with
Default
Camera(Closeup,speaker);
SALSA(entrytag speaker)->Message(PLAYER_SPOKE);
Camera(Closeup,listener)@Message(PLAYER_SPOKE);
Default Player
SALSA(entrytag)->Message(ALLDONE);
One minor issue. I tried to add a delay, it doesn't seem to have an impact. Tried it before and after the @Message
I actually understand it now.
Yes...I do intend to use entrytags. I just hardcode 2 audioclips till I could debug it.
I ended up with
Default
Camera(Closeup,speaker);
SALSA(entrytag speaker)->Message(PLAYER_SPOKE);
Camera(Closeup,listener)@Message(PLAYER_SPOKE);
Default Player
SALSA(entrytag)->Message(ALLDONE);
One minor issue. I tried to add a delay, it doesn't seem to have an impact. Tried it before and after the @Message
Re: Question on Sequences
Where do you want the delay to occur? If you want to delay for 2 seconds after the player speaks, you could change the Default Player Sequence to:
If you want to delay for 2 seconds in the player's sequence but before the player speaks:
Code: Select all
SALSA(entrytag)->Message(SPOKE);
Delay(2)@Message(SPOKE)
Code: Select all
SALSA(entrytag)@2