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.

Character Description for Status Please

picture10tlx.png


Heres my custom status window can you critique it? And i need to add a character description string to below the character, im guessing its something to do with the actor_indexes but i am kinda new with scripting so any help is very appreciated.
 
I wonder if you're still around to read this, but yeah... lemme try to help ya on your way if you are.

Obviously, your script uses one mask to load different data into. That's refered to by the actor id, so for example, draw_actor_hp(1) would draw the HP of your first database actor. Because you know that, you can also figure out that your problem isn't the integration, but the storing of the data in the first place, since your database doesn't have a description field for actors, does it.

So, you got a variety of places to read text data from. The most obvious and non-cheaty way would be reading it from a text file, but if you're lazy about writing a method to read them, you could as well say draw_text($data_items[index].description). If, however, you're up to the more professional and clean text file reading method, or the item description field simply has too few letters, check out scripts already using something similar (like the Multiple Language VX script you can find in my signature) and try to figure the rest from there - it's not that big of a leap, plus you'll learn a few cool things!

Another problem you'll have once you got your data will be the display of that. Neither default scripts support multi-line text drawing, so if you want that, you need a custom script. Look for draw_paragraph_text (I think ^^") within Trickster's MACL, which is a kickass method for just that purpose.
 

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