How do I get conversation working

Get help using Construct 2

Post » Thu Jan 08, 2015 5:27 pm

Hey Guys/Gals

I have simple capx attached here for viewing - I trying to figure out a simple conversation system that interacts with different players and updates the speech box. I figure an easy way would be to use var's to keep track of the conversations but if you play though this one it jumps right to the second conversation piece can someone help me understand why...

from my point of view it should have check that conversation = 0

or is it because I'm still overlapping at the time it updates it too 2 I'm still on it so it converts to text two right away if thats the case a work around to this???
You do not have the required permissions to view the files attached to this post.
Need Sprites For Your Next Project?
100% Vector Animated Sprites
B
8
S
2
Posts: 170
Reputation: 1,086

Post » Thu Jan 08, 2015 5:41 pm

Alter it to work like this..
You do not have the required permissions to view the files attached to this post.
B
50
S
16
G
9
Posts: 1,098
Reputation: 11,237

Post » Thu Jan 08, 2015 5:48 pm

That results in the same thing??? not sure what the Harry in in line 2 action??
Need Sprites For Your Next Project?
100% Vector Animated Sprites
B
8
S
2
Posts: 170
Reputation: 1,086

Post » Thu Jan 08, 2015 7:08 pm

Anyone? is there a tutorial on RPG dialogue I'm missing?
Need Sprites For Your Next Project?
100% Vector Animated Sprites
B
8
S
2
Posts: 170
Reputation: 1,086

Post » Thu Jan 08, 2015 10:24 pm

Spongehammer's solution is taking out the common action of adding 1 to Conversation, up one level, which is great. My tip to you though is to always use Else between checking a value like you're doing. This would've made your code in work in the first place BTW. I'd go with Spongehammer's solution AND use an Else, just to get into good habits. The exact same problem would occur in a 'real' language like Java or C/C++.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests