How can I answer this question without seeing your capx? :)
See this post:
construct.net/forum/construct-2/beginners-questions-19/on-list-item-selection-change-129779
Just press F12 in NWJS window to open console.
There is also an action "show dev tools", so you can open it from an event.
I don't think it's possible to control the cmd window after it has been open from C2. You can do what you want with a "smart" batch file or vbs script.
For example, this bat file displays the content of log.txt on the screen every second:
title HEY @echo off :loop if exist log.txt type log.txt if exist log.txt del log.txt > nul timeout 1 > nul goto loop
You can write a new log message into the log.txt while the bat-file is running and it will appear in the cmd window. (if the file doesn't exist, write to it. if it exists, append to it)
I don't quite understand why do you need this. If this is just to display logs, why not use console log (F12)?
I'm not sure I understand your problem. So you are trying to create a BAT file from C2 and then execute it?
This code works fine for me:
Pick the correct instance of your light probe first, then check for LoS (in sub-event).
Add Mouse object to the project, there are many events you can use, for example "Is mouse button down".
Or if you need to drag some object, add "Drag & Drop" behavior to it, it has "Is dragging" condition.
You can.
dropbox.com/s/7l2a6i2alj1mtyt/Spline_demo.capx
jatin1726, see Rojo's first comment in this post.
Also, this may be easier to do with the Spline plugin:
construct.net/forum/extending-construct-2/work-in-progress-addons-30/behavior-rex-spline-114539
Sure, create a variable "blueBoxScale" and change it the same way. Set sprite scale to this variable.
Set correct "First layout" in project properties.
Develop games in your browser. Powerful, performant & highly capable.
Browser object has several expressions you can use - vendor, version, platform etc.
Member since 26 May, 2016