"Wait" in the script
#5
(02-24-2020, 01:10 AM)DerVVulfman Wrote: I see.  The previous solution would freeze all content when evoked.  If placed before the animation ID, everything freezes before anything happens.  If placed after the animation ID, it still freezes before control is returned to, what I am assuming, is the Scene_Map code before the custom message window is evoked.

The Scene_Map itself already has a wait count system, handled by the Interpreter class itself.  This SHOULD sufficient as the
$game_system.map_interpreter.update
command is executed before it attempts to reach the message system code in Scene_Map's update method.

Perhaps a statement like...
$game_system.map_interpreter.wait_count = 20

It will NOT run right away.  You cannot just put values into wait_count straight into the Interpreter class because the wait_count value is kinda protected.  So... add the following very SIMPLE script:

Code:
#==============================================================================
# ** Interpreter
#------------------------------------------------------------------------------
#  This interpreter runs event commands. This class is used within the
#  Game_System class and the Game_Event class.
#==============================================================================

class Interpreter
 #--------------------------------------------------------------------------
 # * Public Instance Variables
 #--------------------------------------------------------------------------
 attr_accessor :wait_count               # Time to pause the map in frames
end

Once that is done, you should be able to use the above sample command. It works in map events Laughing + Tongue sticking out

Closer, but still not it Confused
Animation and message still appears simultaneously. Waiting applies AFTER message (Player can't move for x time). But at least there is no graphic freeze.
Reply }


Messages In This Thread
"Wait" in the script - by Whisper - 02-23-2020, 12:29 AM
RE: "Wait" in the script - by kyonides - 02-23-2020, 02:57 AM
RE: "Wait" in the script - by Whisper - 02-24-2020, 12:07 AM
RE: "Wait" in the script - by DerVVulfman - 02-24-2020, 01:10 AM
RE: "Wait" in the script - by Whisper - 02-24-2020, 02:05 AM
RE: "Wait" in the script - by DerVVulfman - 02-24-2020, 05:47 AM
RE: "Wait" in the script - by DerVVulfman - 02-24-2020, 04:10 AM
RE: "Wait" in the script - by kyonides - 02-24-2020, 04:46 AM
RE: "Wait" in the script - by Whisper - 02-24-2020, 05:21 PM
RE: "Wait" in the script - by kyonides - 02-24-2020, 07:32 PM
RE: "Wait" in the script - by DerVVulfman - 03-08-2020, 04:08 AM
RE: "Wait" in the script - by Whisper - 04-28-2020, 02:59 AM
RE: "Wait" in the script - by DerVVulfman - 04-28-2020, 03:14 AM
RE: "Wait" in the script - by Whisper - 04-28-2020, 04:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 2 62 Yesterday, 03:09 AM
Last Post: JayRay
   Script compatibility help Lord Vectra 3 4,602 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 15,839 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   Skill Cooldown script Fenriswolf 11 16,438 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   Help iwth script (RGSS Player crash) Whisper 3 8,529 06-17-2017, 05:03 PM
Last Post: Whisper
   Help modifying a script Keeroh 7 10,209 06-11-2017, 04:43 PM
Last Post: DerVVulfman
Question  Mog Menu script: help me stop the crazy picture movement during transitions Zachariad 4 9,852 05-31-2017, 05:10 AM
Last Post: Zachariad
   Actor names in Quest Script jreagan406 5 8,636 03-07-2017, 08:06 AM
Last Post: JayRay
   Bizarre issue with Lanzer counter script. Steel Beast 6Beets 2 7,245 10-04-2016, 11:46 AM
Last Post: Steel Beast 6Beets
   Moonpearl script Animated Battlers help!! x(( Starmage 11 15,634 05-21-2016, 05:34 AM
Last Post: Starmage



Users browsing this thread: 3 Guest(s)