SUPPORT BOARD OVERVIEW & TIPS:

About Receiving Help from the Support Board: While all members may answer questions posted in the Support board, you should only rely on responses posted or confirmed by support moderators and website administrators. Any solutions provided by members of the community that are not verified by a staff member (as indicated by a light-green background) are provided as-is, and we cannot take responsibility for any of the results of said actions.

About Responding to Support Threads: If you feel you know the answer to a question, you are welcome to respond to the thread and politely offer assistance. Please be courteous and try to provide detailed and helpful solutions to users who may not be as advanced as you. We ask that you refrain from posting one-sentence solutions.

Please search for existing topics before creating one! It's quite likely someone else has already encountered a similar issue which was resolved. You can search for existing support threads by clicking here .

About Topic Tags:

* Topics denoted with the [OPEN] tag are awaiting a response from the end user. You are welcome to post in these threads if you are experiencing a similar issue so we may provide further support.

* Topics denoted with the [RESOLVED] title have been successfully answered and confirmed by a support moderator and the end user, and should be used as a reference. These topics are locked.

* Topics denoted with the [CLOSED] tag were either inactive for more than 30 days or the end user did not respond to a suggestion and confirm if the issue was resolved. These topics are locked.

lock [RESOLVED] Adding Triggers In Level Editor Makes My Custom Level Not Load

  • thebourret
  • thebourret's Avatar Topic Author
  • Offline
  • Beginner Marbler
  • Beginner Marbler
  • Posts: 35
  • Thank you received: 0
22 Nov 2016 00:13 - 15 May 2017 17:01 #1
Hey everyone, I've been making some custom levels recently in marble blast platinum. Every time I add any trigger in my level in level editor, the level doesn't load when I try to play it. Whether if it's a help trigger, a teleport trigger, or destination trigger, after putting any triggers, the level doesn't load. If I don't put any triggers in my level, the level loads, but otherwise it doesn't. I use a big desktop Windows 7 computer. Does anyone know what could be causing this?

Many thanks
Last edit: 15 May 2017 17:01 by Aayrl. Reason: Marking as Resolved, solution posted in thread comments.
The topic has been locked.
  • HiGuy
  • HiGuy's Avatar
  • Offline
  • Lead Developer
  • Lead Developer
  • PQ Developer Emeritus
  • Posts: 1334
  • Thank you received: 605
22 Nov 2016 02:04 #2
What happens when you try to load it? Try opening the console after placing the trigger and looking for anything that says Syntax Error. There's a chance that something about the trigger causes an error in the level's code.

This signature is real code
Code:
function clientcmd12dothepq() { commandToClient(LocalClientConnection, '34onthedancefloor'); }
The topic has been locked.
  • thebourret
  • thebourret's Avatar Topic Author
  • Offline
  • Beginner Marbler
  • Beginner Marbler
  • Posts: 35
  • Thank you received: 0
22 Nov 2016 03:01 #3
My level didn't load, so I remade my level, put all the triggers back, went to the console and I saw this:

editor/newObject.cs Line: 1 - syntax error.

bjectBuilderGui.newObject = new Trigger(Destination 1)## ##{
datablock = "DestinationTrigger";
polyhedron = "0 0 0 1 0 0 0 -1 0 0 0 1";
ClearClientTriggerList()


All this text above was in red letters. I think that there is an error that is stopping the level from loading. Is there a way to fix this?
Attachments:
The topic has been locked.
  • HiGuy
  • HiGuy's Avatar
  • Offline
  • Lead Developer
  • Lead Developer
  • PQ Developer Emeritus
  • Posts: 1334
  • Thank you received: 605
22 Nov 2016 07:08 #4
Yep. What's causing the issue is the space in the Trigger's name. Just use something like "Destination1" (without a space) and it should save and load correctly.

This signature is real code
Code:
function clientcmd12dothepq() { commandToClient(LocalClientConnection, '34onthedancefloor'); }
The topic has been locked.
  • thebourret
  • thebourret's Avatar Topic Author
  • Offline
  • Beginner Marbler
  • Beginner Marbler
  • Posts: 35
  • Thank you received: 0
10 Dec 2016 20:01 #5
It worked! I tried with no space, and my level now loads!

Thank you for your help!
The topic has been locked.
Moderators: Doomblah
Time to create page: 1.306 seconds