GMS 2 Continuing a dialogue

B

BlueBird02

Guest
HI, I need some advice to continue a dialogue.

I follow the steps on this guy's dialogue tutorial.

I have no plans on making a dialogue choice game. I just wanted to make a simple dialogue that continues the text.

I add this dialogue code in my game.

This is the blue dog's dialogue code when you talk to her.
--------
///NPC Variables
var myMessage;

//Her Dialogue
myDialogue [0,0] = "What, red eyes? Can't you see I'm busy? Stop Staring at me! What?";

myDialogue [0,1] = "You look familiar? Haven't I seen you as a kid before? Somewhere on a show?";

///color font
draw_set_color(c_blue);

///When Talking
-------

The black cat was supposed to respond with "You look familiar? Haven't I seen you as a kid before? Somewhere on a show?" to the blue dog , but it just ended the conversation on Blue's first dialogue.

How do I continue the dialogue and make the black cat (or any character) respond to each other?
 

Attachments

B

BlueBird02

Guest
In case if I need the black cat to respond, here's the cat's step event.


///Collision Detection
if(collision_circle(x, y, 64, obj_blue, true, true)) && !isTalking {
if(keyboard_check_pressed(vk_space)) {
messageGiver = collision_circle(x, y, 64, obj_blue, true, true);
PCTalking = self;
isTalking = true;
index1 = 0;
index2 = 0;
scrDialogue();
draw_set_color(c_blue);
}
}
///Collision Detection
if(collision_circle(x, y, 64, obj_raskel, true, true)) && !isTalking {
if(keyboard_check_pressed(vk_space)) {
messageGiver = collision_circle(x, y, 64, obj_raskel, true, true);
PCTalking = self;
isTalking = true;
index1 = 0;
index2 = 0;
scrDialogue();
}
}
 
Top