"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".
B
108
S
26
G
258
Posts: 4,430
Reputation: 145,179

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
387
S
230
G
87
Posts: 24,248
Reputation: 192,238

Post » Thu Jul 17, 2014 10:36 am

Thanks. Some 3rd plugins had this problem. Just a notification for us.
B
108
S
26
G
258
Posts: 4,430
Reputation: 145,179


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 1 guest