[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
103
S
25
G
43
Posts: 1,879
Reputation: 33,403

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,382

Post » Tue Feb 10, 2015 10:23 pm

@PhoenixNightly yes :D
B
103
S
25
G
43
Posts: 1,879
Reputation: 33,403

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,382


Return to How do I....?

Who is online

Users browsing this forum: Ajbael, tikuna and 10 guests