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
6
S
1
Posts: 3
Reputation: 375

Post » Sun Mar 01, 2015 12:43 pm

If Textbox = Manuel
---Set Textbox = Auto
Else
If Textbox = Auto
---Set Textbox = Manual
B
43
S
11
G
2
Posts: 1,175
Reputation: 6,744

Post » Sun Mar 01, 2015 7:50 pm

If Textbox = Manual
--Set Textbox = Auto

Else
If Textbox = Auto
--Set Textbox = Manual
B
71
S
20
G
10
Posts: 641
Reputation: 9,648

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
6
S
1
Posts: 3
Reputation: 375


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 2 guests