Open djawesomeyt opened 3 years ago
put this and make sure its in playstate or it won't work
if (FileSystem.exists(Paths.txt(SONG.song.toLowerCase() + '/dialogue$dialogueSuffix')))
{
dialogue = File.getContent(Paths.txt(SONG.song.toLowerCase() + '/dialogue$dialogueSuffix')).trim().split('\n');
for (i in 0...dialogue.length)
{
dialogue[i] = dialogue[i].trim();
}
}
schoolIntro(doof);
where exactly in playstate do i put it and what do i replace?
use the method in my first comment in issue #115
what if i wanted to do it AFTER a song?
put so it puts the dialogue 1 bpm away from the song ending using the method ais (As I Said) in #115
i'm getting null object reference
cuz u dont have the dialogue file (sorry for late response)
Please check for duplicates, similar issues, or if your question was answered on the issue megathread's FAQ before asking.
What is your question?
I know how dialogue works in mic'd up it's just what if I wanted to add dialogue at the end of a song or before a game. I tried using dialogue = CoolUtil.coolTextFile(Paths.txt('dialogue/dialoguehere')); but i always get a value exception error. Someone please help.