How do I call a construct 2 Function from external js?

Get help using Construct 2

Post » Wed Oct 22, 2014 12:10 pm

rex, so it works both ways? I can use it to call a function on my custom js file (just the I can do with the Browser plugin), and call to the eventsheet function using rex_fncallpkg?

When you say "rex_fncallpkg plugin", I assume you're talking about c2 plugin used inside c2. how do I use it in my custom js code?
B
18
S
7
G
1
Posts: 160
Reputation: 1,934

Post » Wed Oct 22, 2014 1:14 pm

trueicecold wrote:rex, so it works both ways? I can use it to call a function on my custom js file (just the I can do with the Browser plugin), and call to the eventsheet function using rex_fncallpkg?

When you say "rex_fncallpkg plugin", I assume you're talking about c2 plugin used inside c2. how do I use it in my custom js code?


Ashley's method is for custom js code.
B
109
S
27
G
276
Posts: 4,479
Reputation: 154,418

Post » Sun Oct 26, 2014 4:59 pm

Thanks all, I'll think about creating a plugin for this :)
B
18
S
7
G
1
Posts: 160
Reputation: 1,934

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 34 guests