"ef_deprecated" (only) will return error

For developers using the Construct 2 Javascript SDK

Post » Thu Jul 17, 2014 3:51 am

Hi, plugin makers and @Ashley

In the latest C2, if the expression only has "ef_deprecated". It will rise an error when open C2.
It is better to be "ef_deprecated | ef_return_number" or "ef_return_number | ef_return_string".
Goodbye
B
114
S
31
G
295
Posts: 4,549
Reputation: 164,608

Post » Thu Jul 17, 2014 9:44 am

This is by design. Even deprecated expressions need to specify a return type, because they can still be in use in projects.
Scirra Founder
B
414
S
245
G
92
Posts: 25,188
Reputation: 200,287

Post » Thu Jul 17, 2014 10:36 am

Thanks. Some 3rd plugins had this problem. Just a notification for us.
Goodbye
B
114
S
31
G
295
Posts: 4,549
Reputation: 164,608


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests