" - as a text, not as an operator of Construct

For questions about using Classic.

Post » Fri Mar 04, 2011 1:37 pm

Hello!

Can anyone help me?
There is an object Text. And i need to set text of this object to "Grey" - is the mixed color "Black" and "White"

So, I need to get text with ". The problem is that Construct understand " in this text as the operators...

If there are some special combinations like \" in C++...

Please help me :D
B
31
S
7
G
6
Posts: 22
Reputation: 4,883

Post » Fri Mar 04, 2011 1:55 pm

Double
Like:
""White""

The wiki linked in the 'Read this first' thread at the top of this forum has a list of such system expressions
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Fri Mar 04, 2011 1:59 pm

Actually, it seems to need three quotes (at least for me it does), so """White"""

Doing just two looks for White as an expression.
B
13
S
6
G
6
Posts: 144
Reputation: 3,106

Post » Fri Mar 04, 2011 2:08 pm

[s:22spjlle]Well... I've tried using double ", but when i paste ""White"" Construct understand White as an operator...

I've already tried to use double "", but it didnt work correctly...

I feel stupid, cause its very easy, but I cant find correct de?ision =)[/s:22spjlle]

buddy40, thank you very much =))) :D
B
31
S
7
G
6
Posts: 22
Reputation: 4,883

Post » Fri Mar 04, 2011 3:06 pm

Sorry, my mistake,
Yeah, its double quotes to add a quote to a string, but the string still needs to be surrounded by quotes.

"So this would be a string, and the word ""white"" would have quotes around it"
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests