[Solved]How do I assign a Global Value to a Text Value?

Just started using Construct 2? Post your questions here

Post » Wed Jul 26, 2017 3:28 pm

Hey guys,

I'm sure this is in the forums somewhere, but I'm pressed for time.. Here is my .capx if anyone could assist me.
I'm trying to set the global variable to equal txtName.Text.

Thanks!

https://www.dropbox.com/s/kzsif3jqcbanc ... .capx?dl=0
Last edited by BrandonJAwesome on Wed Jul 26, 2017 4:02 pm, edited 1 time in total.
B
12
S
6
G
1
Posts: 27
Reputation: 1,756

Post » Wed Jul 26, 2017 3:54 pm

If I understood you correctly:
You can use the Set Text for the Text object and then just assign the Global variable that contains the value you want.

You can check an example here:
https://1drv.ms/u/s!AnY-pqlx8I0coqos3v1l2pxaJ77yLg

Let me know if that helps.
B
57
S
11
G
2
Posts: 35
Reputation: 7,468

Post » Wed Jul 26, 2017 3:58 pm

I'll have to go by your explanation. I can't upgrade to the version of your .capx for free.

Thank you, though.
-Brandon
B
12
S
6
G
1
Posts: 27
Reputation: 1,756

Post » Wed Jul 26, 2017 4:05 pm

Got it! Thank you for the explanation!
B
12
S
6
G
1
Posts: 27
Reputation: 1,756


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest