BOOLEAN return value for expression

For developers using the Construct 2 Javascript SDK

Post » Thu May 08, 2014 8:09 pm

Hi All,

By writing my plugin i noticed i can't return boolean. How i can specify to expression the return type boolean
something like like ef_return_number exists?

currently in the fugin i transform bool value true false to string return parameter but it's ugly :(

Thank you for yur help
B
4
Posts: 9
Reputation: 218

Post » Thu May 08, 2014 8:25 pm

You use ret.set_int() with 0 or 1.
ImageImageImage
B
71
S
21
G
221
Posts: 3,650
Reputation: 124,229


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 2 guests