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
24
S
7
Posts: 208
Reputation: 2,032

Post » Tue Aug 23, 2016 4:54 pm

fullname= firstname & secondname

OR

fullname= firstname&" "&secondname
Image
B
64
S
23
G
7
Posts: 1,483
Reputation: 10,827


Return to How do I....?

Who is online

Users browsing this forum: Fradno, lolsuperscratch, RobertMKD, tarek2 and 8 guests