I use a script "SetTypewriterSpeedToAudioLength" from the extra example,
https://www.pixelcrushers.com/download/8495/
But when I try to add it to my game and it didn't work correctly...
I already check many times, I can't find where I doing wrong...
My background is an art, not a programmer... so it is so difficult for me.
1. I add the script to subtitle text of NPC.
2. I set the default sequence that" AudioWait(Vocal/entrytag); Delay({{end}})"
3. when I play the game the audio file plays correctly, but the script didn't work correctly.
Please help me.
[HELP]About "SetTypewriterSpeedToAudioLength"
[HELP]About "SetTypewriterSpeedToAudioLength"
- Attachments
-
- 02.jpg (100.63 KiB) Viewed 437 times
Re: [HELP]About "SetTypewriterSpeedToAudioLength"
Hi,
A GameObject must be associated with the speaker.
To associate a GameObject, you can:
A GameObject must be associated with the speaker.
To associate a GameObject, you can:
- Assign GameObjects to the Dialogue System Trigger's Conversation Actor and Conversation Conversant fields,
- Or add Dialogue Actor components to the GameObjects and select the corresponding actor from the dropdown,
- Or name the GameObject the same name as the actor's Name in the dialogue database.
Re: [HELP]About "SetTypewriterSpeedToAudioLength"
Oh yeah! I just fixed it by following your tip! Thank you, Tony!!Tony Li wrote: ↑Wed Jun 17, 2020 2:35 pm Hi,
A GameObject must be associated with the speaker.
To associate a GameObject, you can:
- Assign GameObjects to the Dialogue System Trigger's Conversation Actor and Conversation Conversant fields,
- Or add Dialogue Actor components to the GameObjects and select the corresponding actor from the dropdown,
- Or name the GameObject the same name as the actor's Name in the dialogue database.
Re: [HELP]About "SetTypewriterSpeedToAudioLength"
Happy to help!