[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
92
S
32
G
110
Posts: 5,298
Reputation: 71,507

Post » Tue Dec 02, 2014 12:22 am

Browser.Log()
ImageImageImage
B
71
S
22
G
242
Posts: 3,734
Reputation: 134,994

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: 25games and 33 guests