You are not logged in.    Login    New User    Forum Home    Search

Location:
JBPLAY  \  Meteor 2  \  Error Reporting  \  "SC_AddScriptToQueue: Unable to run , script queue is full"

Back to Threads

Viewing Thread: "SC_AddScriptToQueue: Unable to run , script queue is full"

 

Lustâhn

Joined: 20 July 2009
Posts: 5
20 July 2009 22:20 (UK time)

Whenever I try to execute a script in my custom M2 map, I get the error specified in the topic-title ("SC_AddScriptToQueue: Unable to run , script queue is full";).

This is the full sc-file for the map:


#title "Jotunheimen"
#author "Lustahn"

#include meteor2

export go;
export mine;
export SC_GameMessage;
export SC_BindObjectToWayPoint;

void go()

{
SC_GameMessage ("Let's go.";);
SC_BindObjectToWaypoint (5,0);
}


void mine()

{
SC_GameMessage ("This tank fell prey to a land mine.)";
}


Any ideas how I may get my script to function?

Lustâhn
"The history of saints is mainly the history of insane people." - Benito Mussolini


You need to login to create posts in this thread.

Lustâhn

Joined: 20 July 2009
Posts: 5
20 July 2009 22:22 (UK time)

May I add that the M2 documentation-file is missing on www.meteormods.com.


"The history of saints is mainly the history of insane people." - Benito Mussolini


You need to login to create posts in this thread.

Canuck

Joined: 31 August 2007
Posts: 419
20 July 2009 23:20 (UK time)

Welcome to the forums!

You don't have to export the script commands, just the triggers. If you get rid of "export SC_GameMessage" and "export SC_BindObjectToWaypoint" it should work.

You need to login to create posts in this thread.

Lustâhn

Joined: 20 July 2009
Posts: 5
21 July 2009 00:33 (UK time)

Canuck wrote:
Welcome to the forums!

You don't have to export the script commands, just the triggers. If you get rid of "export SC_GameMessage" and "export SC_BindObjectToWaypoint" it should work.


I tried that, and now the script won't even read for some reason.

Here's the current version with the changes you've recommended:


#title "Jotunheimen"
#author "Lustahn"

#include meteor2

export go;
export mine;

void go()

{
SC_GameMessage ("Glad you could make it - I'll take the lead.";);
SC_BindObjectToWaypoint (5,0);
}

void mine()

{
SC_GameMessage ("This tank fell prey to a land mine.)";
}

"The history of saints is mainly the history of insane people." - Benito Mussolini


You need to login to create posts in this thread.

Lustâhn

Joined: 20 July 2009
Posts: 5
21 July 2009 01:54 (UK time)

Never mind, I'm able to execute the script now. It appears I managed to write an "(" instead of an "{" somewhere.

Thanks for your help, Canuck.
"The history of saints is mainly the history of insane people." - Benito Mussolini


You need to login to create posts in this thread.

nyasudah
 Official Sponsor

Joined: 06 February 2005
Posts: 832
21 July 2009 05:05 (UK time)

SC_GameMessage ("This tank fell prey to a land mine.)";
this was your problem. you put the ) before the " in the end
nyasudah / masuda / mp / PetiX / PtX


You need to login to create posts in this thread.

Spy

Joined: 05 October 2007
Posts: 1031
21 July 2009 10:13 (UK time)

@Lustâhn

Hi.
I was known as Naval War before.
I love and mod Amnesia: The Dark Descent.
Also an active osu! player: https://osu.ppy.sh/u/3971179


You need to login to create posts in this thread.

nyasudah
 Official Sponsor

Joined: 06 February 2005
Posts: 832
21 July 2009 11:01 (UK time)

And heres the documnetation: http://www.jbplay.com/games/meteor2/docs/
James just forgot to update that when the the site address changed to jbplay
nyasudah / masuda / mp / PetiX / PtX


You need to login to create posts in this thread.



Forums system (C) 1999-2023 by James Bunting.

Terms of Use