Textboxs and global variables

Get help using Construct 2

Post » Tue Aug 23, 2016 4:47 pm

I create global variables (text)
-firstname
-secondname
-fullname

i add 2 textboxes
-for type first name
-for type second name

Now in events i set to every tick
set GV firstname to textbox firstname.text
and this same forsecond name

in inspector when i type i see typed text in this two variables

but when i set in events
set global variable fullname firstname + secondname

text are not connected
full name global variable display only first name
Why?
how fix this?
B
25
S
8
Posts: 219
Reputation: 2,181

Post » Tue Aug 23, 2016 4:54 pm

fullname= firstname & secondname

OR

fullname= firstname&" "&secondname
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests