Can a condition return any value?

For developers using the Construct 2 Javascript SDK

Post » Wed Nov 05, 2014 8:06 am

Hey,

Is there a way of doing something like:

"On [condition] thisText.setText(return value from [condition]" ?

Or I must save the return value as an expression and use it later on?

Thanks :)
B
18
S
7
G
1
Posts: 160
Reputation: 1,934

Post » Wed Nov 05, 2014 9:31 am

Using expression to get value is much better.
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568


Return to Javascript SDK

Who is online

Users browsing this forum: ChaoticNewtroll and 2 guests