Content tagged script

Report Tag

58 usages of this tag
  • 5 replies
  • 1.3K views
This content is deleted
Forum Topic
Generating a random number with scripting
0 favourites

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...

  • 5 replies
  • 2.2K views
This content is deleted
Forum Topic
Scripts in action can't work
0 favourites

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...

posted 4 years ago
  • 6 replies
  • 991 views

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...

  • 1 replies
  • 368 views
This content is deleted
Forum Topic
Javascript Arrays not properly initialized
0 favourites

Hello I've written the following script: Var careerIndices = []; Var randomCareers = []; Var randomCareersForPortraits = []; Var randomCareersForCareerImages =...

posted 4 years ago
  • 1 replies
  • 476 views
This content is deleted
Forum Topic
Call a plugin function by javascript.
0 favourites

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...

  • 1 replies
  • 2.3K views
This content is deleted
Forum Topic
Construct 3 with different Languages
0 favourites

Short and simple: Can I as a user of Construct 3 change the programming language of Construct 3 from Javascript to something else.

  • 2 replies
  • 520 views
This content is deleted
Forum Topic
How do I use a script to change a tile in a tilemap?
0 favourites

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...

posted 3 years ago
  • 0 replies
  • 138 views
This content is deleted
Forum Topic
How do I import algorithms written in Python?
1 favourites

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...

posted 3 years ago
  • 0 replies
  • 256 views
This content is deleted
Forum Topic
Select objects using the script
0 favourites

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?

posted 3 years ago
  • 2 replies
  • 488 views
This content is deleted
Forum Topic
How do I read JSON in scripting?
0 favourites

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...