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: 215
Reputation: 2,173

Post » Tue Aug 23, 2016 4:54 pm

fullname= firstname & secondname

OR

fullname= firstname&" "&secondname
B
66
S
24
G
7
Posts: 1,514
Reputation: 11,039


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, kellehk, TRMG, Yahoo [Bot] and 26 guests