How do I assign two functions on a single key

Get help using Construct 2

Post » Sun Mar 01, 2015 11:17 am

Hi. I would like to know how to set a function where pressing F on the keyboard will change a textbox to display "Auto" and pressing F again will change the textbox to display "Manual". Thanks.
B
7
S
2
Posts: 3
Reputation: 550

Post » Sun Mar 01, 2015 12:43 pm

If Textbox = Manuel
---Set Textbox = Auto
Else
If Textbox = Auto
---Set Textbox = Manual
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Sun Mar 01, 2015 7:50 pm

If Textbox = Manual
--Set Textbox = Auto

Else
If Textbox = Auto
--Set Textbox = Manual
B
92
S
30
G
11
Posts: 654
Reputation: 11,707

Post » Tue Mar 03, 2015 12:53 pm

Thank you so much both of you. It took me a while to understand how to apply such logic in construct 2 layout, but I finally get it:

Image

It's not what I asked for in the first place, but the theory is similar :)
B
7
S
2
Posts: 3
Reputation: 550


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests