Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: UltimateGamer9 on August 16, 2015, 10:05:09 PM

Title: Help me out.
Post by: UltimateGamer9 on August 16, 2015, 10:05:09 PM
So how do I get a ped saying a mission speech wih subltitles and I want it to be like until the Speech has been played I tried
SoundPlayScriptedSpeechEvent(Derby,"M_3_06",1,"large",true)
repeat
 Wait(0)
until SoundSpeechPlaying(Derby,"M_3_06")
But that code is when the speech is playing. I want when the speech is played then it goes through the next part.
Title: Re: Help me out.
Post by: DaBOSS54320 on August 17, 2015, 01:41:59 AM
If you want the repeat loop to keep going until the sound is not playing then maybe until not SoundSpeechPlaying(Derby,"M_3_06") will work. That way the repeat will run until the sound is not playing.