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.

UMS and Caterpillar Script

I know that has been asked multiple times, but all of the topics posted before never got an answer to them.

With the UMS, how it works is it centers the text box over the specified even, but when the caterpillar script is integrated into the game, it won't work for characters that follow, because the trailing sprites are not events.

How can I overcome this? Or is it not possible with the UMS at all?

I do have an idea on how to overcome the problem--
\e[event number]\nm[Name to show in text box]\t1(speech thing)

Normally, to have the box center over the main character, you need to enter \e[0]. Maybe it is possible to change the UMS script so that if \e[M] is entered or something it centers the box over where the trailing char. would be depending on some if then statements that tells where to put the box depending on where the trail char is at that time.

Please respond, as the answer to the problem means the continuation of the storyline I have in order.

Thanks
 
The only problem with that is that my game is about 75% done already and if I were to use the script like yours it might render some dialogue on the wrong person. Or is this not how it works? I couldn't really tell from the demo how it works.
 

Zeriab

Sponsor

Note that the demo has another message script in it.
If you just add the script then hopefully nothing what-so-ever should happen. (Except perhaps making old saves unusable)
There will be a lot of work though since you would have to add events for possible actors you can have at each map. This will make the script unsuitable for big games with many party members.

It is a solution if you don't help on making whichever caterpillar script you have work with the UMS.
You really should say which it is since there are plenty of them around and all I know is that you are not using an event based one.

*hugs*
- Zeriab
 

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