Banjo

Veteran
Veteran
Joined
Jan 4, 2013
Messages
96
Reaction score
20
First Language
English
Primarily Uses
RMVXA
Using the normal Event option, you can make the game wait until a balloon completes its animation, but I need to use a script call for this since I'm using a variable for the event id. This works fine, but the game doesn't pause for the balloon to finish and I can't figure out how to make it do so using this scripting method.

My script snippet I'm using is:
$game_map.events[$game_variables[571]].balloon_id = 1

Can someone please tell me what I need to add to this script make the game wait for the balloon to finish animating?

Thanks!
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
6,206
Reaction score
7,476
First Language
Indonesian
Primarily Uses
RMVXA
Add this
Code:
Fiber.yield while $game_map.events[$game_variables[571]].balloon_id > 0
 

Latest Threads

Latest Posts

Latest Profile Posts

Create MiniMaps, Sprites for MV Enemies, & Aethereal Plane Battlebacks | RPG Maker News #74

Vtubers Vs MOTHER.png

This might be my next project. You like it?
I'm off to search the master script list for my skill issue. HOORAY! FUN!
Fun fact: Digimon is an isekai :kaoswt2:
The problem with being a perfectionist is that you are never done with something.

Forum statistics

Threads
112,325
Messages
1,067,398
Members
145,959
Latest member
moethefetus
Top