[SOLVED] Error Loading scripts Metolog

I am trying to work with my scripts, updating them to make it more readable and easier to update and edit, but all I’m getting now is an “Error Loading scripts” message.

What did I do, and how do I fix this?

The only script I edited so far: PlayCanvas | HTML5 Game Engine

Screen where the enemy I reprogrammed appears: PlayCanvas | HTML5 Game Engine

There is a really big problem, though. My computer does not have the ability to open up the browser console. It is a feature not available to my device. so I cannot figure out what the problem is.

Actually, I just found out about my family’s home PC, and I can do it there, so what does isPaused mean in the script, what are its properties that are unable to be read, and why is it giving an error on line 63683?

I don’t want to edit something in the script and mess it up

The problem is the following line in this script:

        this.angle = angles[this.randomMovement]

It should be:

        this.angle = angles[randomMovement]

Consider using checkpoints and diffs to see what code you’ve changed to make it easier to track this kind of problem down.

thanks. that completly slipped me

1 Like

Now they’re not moving, I might be able to solve this one with some testing with the speed and movement. I’ll come back if I need more help

oh, it uh, activated pause mode which I forgot to turn the number subtracted from a float to an integer while its pause timer is based on frames using integers and not floats

1 Like