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.

Trickster's Bestiary: Miek's confused!

mawk

Sponsor

Hello again, ladies and gents. I've once again got myself hopelessly lost in the swamp of my own ignorance, so I thought it fit to go to the internet and ask for an air lift to safety or something. I'll stop the crappy metaphors now.

A little while ago (read: today,) I downloaded Trickster's Bestiary from the website, copied the new script (the six or so new script categories, at least; I'm too novice to find and more subtle changes made in the RTP script) into my game already in progress, made the necessary changes to my cat event, and tah-dah! I was able to make my cat tell you that Boogies were mischevious ghosts who had a lot of HP.
Description = {
1 => 'A mischievous ghost who likes to pull pranks on pretty much everyone. Not specialized in any way, but he can take a lot of hits!'
}
Then, though, I ran into problems when I tried to add another blurb to my cat's knowledge base.
Description = {
1 => 'A mischievous ghost who likes to pull pranks on pretty much everyone. Not specialized in any way, but he can take a lot of hits!'
2 => 'A mischievous ghost whose prank of choice involves throwing things around. Packs a punch, but can\'t take that many itself.'
}

I assumed the 2 would signify enemy 002, the Polter Boogie. But when I tried to run the game, it politely told me (more or less)
Syntax error: Setup, line 53.
I'm paraphrasing it, but I think that was the gist. Setup line 53 was, of course, the line where I had made entry number 2. Could someone please tell me where I went wrong?

The Cole's Notes version is that I don't know how to make entries for multiple enemies using Trickster's Bestiary script, and would like it very much if someone would please tell me how I could do so.

All the activity described in this post is under the "Setup" tab in the Bestiary script.

(Also, I somehow managed to make the ingame text loop endlessly, but that resolved once I removed the Bestiary script and I figure it won't be a problem once I learn how to insert the blurbs correctly.)

EDIT: It turns out that it's a problem with the main script, too. After inserting an NPC to check that the text doesn't do that craziness normally, I found that it does. That is, text loops endlessly. This is the script for the NPC I made:
@>Text: LADIES, PONIES, ACROBATS.
@>Text: IT'S MY CHOCOLATE ATTACK!
@>
Do I need to tack something onto the end to make it end? Like, an "end" command?
 

mawk

Sponsor

Oh, alright. Thanks! Where can I get the new SDK?

EDIT: Never mind, I think I got it. Thanks, dude!

FURTHER EDIT: Everything works perfectly. Many thanks to Eduardo and the SDK team!
 

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