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: 157
Reputation: 1,928

Post » Wed Nov 05, 2014 9:31 am

Using expression to get value is much better.
B
108
S
26
G
267
Posts: 4,456
Reputation: 149,747


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 1 guest