Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Help needed with the caterpillar script (complete noob here):D

I found a caterpillar script on the internet made by fukuyama and it looked pretty sweet. So I made a new section in my script editor, pasted in all the stuff, and now it just says syntaxerror or something like that, and I can't use it to test out my game. Is there anything I'm doing wrong? Any help whatsoever would be greatly appreciated.
 

khmp

Sponsor

Syntax error? Does it point to a line in the code or just say syntax code? Error's that just say 'syntax error occurred' without a line number is usually invalid code using the 'Call Script..' event command I think. This line you inserted in the script editor, was it at the top?
 

KBF

Member

Ok. Go all the way to the bottom of your script editor. See the line called "main"? Put it right above there, and that should fix it.

EDIT: Wow, where I come from that is called being "ninja'd". Wow.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top