How do I generate a random whole number via scripting? I tried using math.RandomInt(100), math.Random(100) and more. But it keeps telling me that math or random...
I want to run Javascript code from event sheet like beginning of this video. But When I Pressed a button in preview mode, It didn't work. Chrome developer tool...
I read through the scripting reference documentation but am not finding what I need. What I would like to do is this: Determine if the mouse is over object A. I...
Hello I've written the following script: Var careerIndices = []; Var randomCareers = []; Var randomCareersForPortraits = []; Var randomCareersForCareerImages =...
Hello everbody! The audio interface ( ) just expose the audioContext . How can I call a function like: Runtime.Objects.Audio.Stop("1") exposed in the event shee...
Short and simple: Can I as a user of Construct 3 change the programming language of Construct 3 from Javascript to something else.
I am trying to use this script to change a tile in my tilemap from whatever it is to tileID "123". Const tm = runtime.Objects.Tilemap.GetFirstInstance(); Const...
I would like to use algorithms written in python to animate a computer player in my Construct 3 game. Of course the integration wouldn't require the user to ins...
How to do this with a script: Make a selection (Pick Last Created) with two conditions, then connect them (Pin to object). Is this possible?
I'm using the scripting in C3 by adding the JS file to the files folder and loading it at the start of runtime. I'm trying to get an id from the peerjs but I'm...