How do I copy text value to another layout?

Just started using Construct 2? Post your questions here

Post » Sun Sep 28, 2014 5:06 pm

i have layout with textbox that counts elapsed time in game. when game finishes i want to show that elapsed time, but i can't find a way to do this. Help?
B
3
Posts: 8
Reputation: 191

Post » Mon Sep 29, 2014 5:57 am

You can use Textbox.Text to retrieve its value in string type.
https://www.scirra.com/manual/117/textbox
B
23
S
9
G
3
Posts: 114
Reputation: 3,794

Post » Mon Sep 29, 2014 2:56 pm

i did that, but when i come back to layout containing original textbox, it won't appear. i set it to global variable, but no effects
B
3
Posts: 8
Reputation: 191

Post » Tue Sep 30, 2014 8:07 am

Did you use the system action "Reset global variables" before moving to another layout?
B
23
S
9
G
3
Posts: 114
Reputation: 3,794


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest