How do I get a text instance variable to work?

Get help using Construct 2

Post » Fri Jul 10, 2015 3:56 am

How do I make a text instance variable work? I am trying to use one to say what type of character the person will be, like "if ninja is clicked, set character (text instance variable) to NINJA" but it says its not a system expression or variable.
B
4
Posts: 14
Reputation: 228

Post » Fri Jul 10, 2015 4:18 am

Strings(text) need to be enclosed in double quotes, so you would put "NINJA" instead of NINJA.
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,126

Post » Fri Jul 10, 2015 10:57 am

Oh god I feel like such an idiot! Thanks
B
4
Posts: 14
Reputation: 228

Post » Fri Jul 10, 2015 11:15 am

Maxwell002 don't be hard on yourself. you are not idiot but person like me make mistakes. That is all
B
255
S
39
G
15
Posts: 1,975
Reputation: 40,984


Return to How do I....?

Who is online

Users browsing this forum: fr0z3n, zenox98 and 8 guests