RPG Maker MV

RPG Maker MV

Iguana Guy Aug 31, 2018 @ 9:44pm
Script call for balloon icon animation
Is there a script call that could be used in events built in movement route that would play a ballon icon over them. I know I could use a seperate parallel event to do this but that seems redundant to make another event. I can't have that event be parallel either because it is an NPC that you talk to.
Last edited by Iguana Guy; Aug 31, 2018 @ 9:44pm
Originally posted by Caethyril:
I'll just repeat and embellish what's been said. ^_^

Move Route > Script:
this.requestBalloon(n);
Replace n with a number indicating which balloon to display, starting with 1 for Exclamation. =)

For followers (can't reference via move route) you can use a standalone script call instead:
this._character = $gamePlayer.followers().follower(id); this._character.requestBalloon(n); this.setWaitMode('balloon'); // wait for completion
Replace id with the ID of the follower (0 for the second party member) and n, as before, with the balloon ID. If you don't want it to wait for completion, remove the last line. The this._character assignment is required so the interpreter knows which character's balloon to check...otherwise the wait thing is like: who am I waiting for?

Note that you can use this for the player, map events, or vehicles, too; setting a move route will override any active move route that character is currently performing, so it may be handy. Just replace the first line as appropriate:
this._character = $gamePlayer; // player this._character = $gameMap.event(id); // map event this._character = $gameMap.boat(); // boat vehicle this._character = $gameMap.ship(); // ship vehicle this._character = $gameMap.airship(); // airship vehicle
< >
Showing 1-9 of 9 comments
XIIIthHarbinger Sep 1, 2018 @ 12:45am 
I think so,

Looks like it's

character.requestBalloon(id); this.setWaitMode('balloon');

Replace character with one of these: $gamePlayer; $gameMap.event(ID);
For example: $gameMap.event(6).requestBalloon(3); this.setWaitMode('balloon');

Or so the cheatsheet tells me,

https://docs.google.com/spreadsheets/d/1-Oa0cRGpjC8L5JO8vdMwOaYMKO75dtfKDOetnvh7OHs/htmlview?sle=true#gid=0
XIIIthHarbinger Sep 1, 2018 @ 12:46am 
If that won't work in a movement route scriptcall, you'll probably have to ask Caethyril.
character.requestBalloon(id);

For "character", you can use this, $gameMap.event(id), or $gamePlayer.

For example, $gameMap.event(1).requestBalloon(1); will make the exclamation balloon appear over event 1's head.

RE: the cheat sheet, I had always gotten errors with "setWaitMode". Not sure the cause of that, but it works without it, anyway.
Last edited by Marmalade Chainsaw; Sep 1, 2018 @ 12:51am
The author of this thread has indicated that this post answers the original topic.
Caethyril Sep 1, 2018 @ 1:20am 
I'll just repeat and embellish what's been said. ^_^

Move Route > Script:
this.requestBalloon(n);
Replace n with a number indicating which balloon to display, starting with 1 for Exclamation. =)

For followers (can't reference via move route) you can use a standalone script call instead:
this._character = $gamePlayer.followers().follower(id); this._character.requestBalloon(n); this.setWaitMode('balloon'); // wait for completion
Replace id with the ID of the follower (0 for the second party member) and n, as before, with the balloon ID. If you don't want it to wait for completion, remove the last line. The this._character assignment is required so the interpreter knows which character's balloon to check...otherwise the wait thing is like: who am I waiting for?

Note that you can use this for the player, map events, or vehicles, too; setting a move route will override any active move route that character is currently performing, so it may be handy. Just replace the first line as appropriate:
this._character = $gamePlayer; // player this._character = $gameMap.event(id); // map event this._character = $gameMap.boat(); // boat vehicle this._character = $gameMap.ship(); // ship vehicle this._character = $gameMap.airship(); // airship vehicle
JohnDoeNews Sep 1, 2018 @ 9:16am 
Yanfly also has a plugin for this. It is the YEP_moveroutecore.
Iguana Guy Sep 1, 2018 @ 10:20am 
Thanks to everyone for responding. All three answers are about the same thing, I only flagged one so anyone else looking at this post at a later date will know it was answered. BigFatX - I will have to check out that plugin. I have Yanfly stuff but that one didn't seem like one I needed to use until you mentioned this.
JohnDoeNews Sep 1, 2018 @ 12:16pm 
he has a baloon plugin too, but that one is needed to use icons as baloon images. Handy too, but not what you were lookng for. Is that the one?
Iguana Guy Sep 1, 2018 @ 12:24pm 
I know of the Icon Balloon one. Not sure if I am using that in my current project at all. It is a handy plugin though if you have fetch quest type stuff.
JohnDoeNews Sep 2, 2018 @ 1:42am 
Right, but the moveroutecore, lets you do balloon icons during a moveroute.

However, if "this.requestBalloon(n);" works, then the plugin isn't needed I guess
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Aug 31, 2018 @ 9:44pm
Posts: 9