Simple dialog box?

Get help using Construct 2

Post » Wed Mar 21, 2012 1:40 pm

I wanna make a dialog box, start dialog when I press a button while collide with another NCP (and the player stops to move), and close dialog when I press the same button (but I don't want to show text at once. Only in sequence). Can anyone help me, please? Or send a link? Thanks!KrazyKaos2012-03-21 13:40:49
B
20
S
2
G
1
Posts: 32
Reputation: 1,997

Post » Wed Mar 21, 2012 3:26 pm

For a typewriter effect, have a look at the FAQ.

For everything else, something like this:

[code]
GlobalVariable Clicked = 0

On key X pressed:
Player is overlapping object:
Clicked = 0:
Player is [not] moving: (press i to invert conditions)
-> Set Text to X
-> Set Clicked to 1

On key X pressed:
Clicked = 1:
-> Set Text to " "
-> Set Clicked to 0
[/code]
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Wed Mar 21, 2012 4:55 pm

Thank you! I found it!
B
20
S
2
G
1
Posts: 32
Reputation: 1,997


Return to How do I....?

Who is online

Users browsing this forum: Megavolt and 0 guests