Error updating AGS, const string

Started by Grapefruitologist, Wed 27/12/2006 02:08:39

Previous topic - Next topic

Grapefruitologist

#20
Thanks!! It works. =D
EDIT: Just one more question. This keeps repeating the conversation over and over, is it possible to make it stop after the conversation is over?
(\ _ /)
(o.o )
(>< )
This is Bunny
Copy Bunny into your signature to help him on his way to world domination!
http://youtube.com/watch?v=IIO2qpSsUTA
http://youtube.com/watch?v=Rg-p7xaeYes

Lazarus

If it's just the once then add the script to first time player enters screen or where ever the trigger could be to start the speech:
Code: ags

if ((cTom.Room == 10) && (cJohn.Room == 10)) { 
// This is to check that both characters are in the same room (10).
// If either characters are not in the room the speech is stopped.

Ã,  QueuedSpeech.Say(cTom, "Hi John nice to see you");
Ã,  QueuedSpeech.AddDelay(80); 
Ã,  QueuedSpeech.Say(cJohn, "Hi Tom I'm fine thanks");
Ã,  QueuedSpeech.Say(cTom, "Did you hear about Roger?");
Ã,  QueuedSpeech.AddDelay(80);Ã,  
Ã,  QueuedSpeech.Say(cJohn, "Roger ...");
Ã,  QueuedSpeech.Say(cJohn, "is he the badly drawn character from Roger Wilco?");

}
else QueuedSpeech.ClearQueue();


*Currently using AGS Editor 2.70 (Build 2.70.601)*

Grapefruitologist

Thanks!! But... Sorry, just ONE more question, heh. I want the characters to stay where they are until the conversation ends, and then start following the player. How do I do that?
(\ _ /)
(o.o )
(>< )
This is Bunny
Copy Bunny into your signature to help him on his way to world domination!
http://youtube.com/watch?v=IIO2qpSsUTA
http://youtube.com/watch?v=Rg-p7xaeYes

SMF spam blocked by CleanTalk