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.

file Script error after changing and then changing back camera info

  • Buzzmusic
  • Buzzmusic's Avatar Topic Author
  • Offline
  • Developer
  • Developer
  • I make levels and songs.
  • Posts: 678
  • Thank you received: 145
31 Mar 2018 23:25 - 01 Apr 2018 02:59 #1
I have this level I'm working on, and I was unsatisfied with the default positions of the camerapaths or however you call them, the pathnodes that are positioned in a circle around the level to give you that preview before you press play. So I went into the code and changed the Z position on all of them so that they're all 410. Then when I opened up PQ, I got an error saying something like "because of an error we can't have the panning camera shots". Weird, but I thought no problem, I'll just revert the code back to how it was before. And if that doesn't work, I'll just delete the whole camera section of the code of my .mis (since I know there are levels without that section in there). When I tried both of those options and pressed play on my level, I ended up getting the error you see in the pic below, and no panning shot of the level. The weirdest thing about this is that I got the code back to exactly how it was before the whole mess started, and for some reason it's still being stubborn. Pls help me know how to get the camera stuff working again, how to be able to play the level again, AND how to change the camera paths to my liking. Mac OS Sierra 10.12.5.

EDIT: I managed to narrow down where the problem lies. I decided to create a 'new mission' (which automatically generated camerapaths into the code btw), and then copy stuff into it one piece at a time from the pre-existing mission file I was working with before. I found that the level loaded up fine until I copied the "new ScriptObject(MissionInfo)" section. That's when I started getting the script error. So now I'm able to load the level up and play it fine, but I'm still not getting the spinning camera preview. So now that's all that needs to be fixed.

New mission info:
Warning: Spoiler!


Old mission info:
Warning: Spoiler!



All posts from my account that were made before July 29 2013 are from the point of view of my dad unless it states otherwise.
Last edit: 01 Apr 2018 02:59 by Buzzmusic.
  • HiGuy
  • HiGuy's Avatar
  • Offline
  • Lead Developer
  • Lead Developer
  • PQ Developer Emeritus
  • Posts: 1334
  • Thank you received: 605
04 Apr 2018 04:57 #2
At least in your old description you're missing a semicolon after the startHelpText. Here are a few other issues you may run into:

- TextEdit on Mac likes to use “smart quotes” instead of "basic quotes," make sure to disable them in the edit menu
- Check for missing semicolons and matched quotes. If any of the strings in your info have double quotes in them, make sure to put a backslash \ before them so it doesn't end the text too soon
- Check for matched curly braces { } and that objects end with };
- Check the console.log and see where it highlights the error. Also check the line that it displays in the error box.

This signature is real code
Code:
function clientcmd12dothepq() { commandToClient(LocalClientConnection, '34onthedancefloor'); }
Moderators: Doomblah
Time to create page: 1.749 seconds