[numbers]what i type in text box i set to global variable?

Get help using Construct 2

Post » Tue Feb 10, 2015 9:29 pm

i want set to variable some numbers but this numbers must be typed in to textbox, what expression i should use?
B
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

Post » Tue Feb 10, 2015 10:09 pm

So you want to have a variable that holds whatever is enter into a text box? Something like this?
setVariableFromTbox.png
You do not have the required permissions to view the files attached to this post.
B
23
S
4
G
2
Posts: 364
Reputation: 2,392

Post » Tue Feb 10, 2015 10:23 pm

@PhoenixNightly yes :D
B
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

Post » Tue Feb 10, 2015 10:27 pm

What you can do if you want to get real deep is hold the UID to know where to assign them. Then you can check the UID to know which one to store with what variable.
MultiVars.png


**THIS ONE BETTER EXAMPLE FYI in case you didn't know you can see the assigned UID for every object in the properties window of the layout :D
You do not have the required permissions to view the files attached to this post.
B
23
S
4
G
2
Posts: 364
Reputation: 2,392


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, brunopalermo and 30 guests