Graphic over events during a message

Started by King_Ooga_TonTon, January 15, 2012, 03:59:08 pm

Previous topic - Next topic

King_Ooga_TonTon

So I'm looking for a script (RMXP) that will show a graphic over the "head" of an event during a message. For instance, during a cutscene, you would be able to easily identify who is talking because the graphic (Like an arrow or something) would hover over the character talking. What I tried to do (unsuccessfully) was take one of the speech bubble scripts, and make it so that the tail of the speech bubble would remain over the character even if the window was at the bottom of the screen like normal.
Anyways, I'm going to eat this cucumber because I'm a tad hungry. Thanks!

stripe103

You can do this just by using the animations in the database.  Look at for example the exclamation animation to get the idea of how to make your own.
When you have made it you can use the show animation event command to show it over an event.  These won't stay showing but are usually enough for what you are trying to do.


King_Ooga_TonTon

Well thanks for the quick replies. I will use animations if necessary, but it would be slightly more irritating than having it in the text object as well.

As far as the script is concerned, that's what I tried to use unsuccessfully. I don't want the message window itself to be over the character's head, just an icon or graphic. As far as I'm aware, when you make the message non-floating and non-re-sizable on most speech bubble-type scripts, the graphic disappears, which makes it kind of pointless.

ForeverZer0

January 15, 2012, 06:41:51 pm #4 Last Edit: January 15, 2012, 06:42:57 pm by ForeverZer0
http://forum.chaos-project.com/index.php/topic,9670.0.html

That could be adapted pretty easily. You may even just be able to use it as is by simply setting the range to one.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

King_Ooga_TonTon

That's almost perfect! Just one more question- (hopefully) how could I make it so that the graphic appears whenever something like \e[n] is put in a text box, with n being the event the graphic was hovering over?

For example, if a I wrote something like:
Text: \e[3] Hello, there's a thing on my head
the graphic would hover over event ID 3's head.