[Solved] How do I run pure js code?

Get help using Construct 2

Post » Mon Dec 01, 2014 11:47 pm

I need to sometimes run "console.log('something')", to check if my events inside c2 are running properly, is there a way to do this? os any other easy alternative to? i am tired of placing Text objects on screen and log my stuff...

ps: I know about debug mode, and breakpoints, but i just want to call this command "console.log()" inside c2, i don't care if it'll run every tick.

See ya! thanks
Last edited by blinkn on Tue Dec 02, 2014 12:39 pm, edited 1 time in total.
B
8
Posts: 20
Reputation: 302

Post » Tue Dec 02, 2014 12:20 am

The browser object has a execute js action.
B
91
S
31
G
103
Posts: 5,234
Reputation: 67,754

Post » Tue Dec 02, 2014 12:22 am

Browser.Log()
ImageImageImage
B
71
S
21
G
220
Posts: 3,648
Reputation: 123,725

Post » Tue Dec 02, 2014 12:39 pm

Nice, that is exactly what i wanted, thank you guys!
B
8
Posts: 20
Reputation: 302


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests