Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Lawrence

Message box doesn't stop event movements (??!!)

Question

Hi everyone, after a big time... I went back to work on my game...
Did a lot of things but then I noticed a very annoying thing...

 

When a message box is shown up, events do not stop moving.

 

Apart from asking WHY all the older rpgmakers have this function but not RPGmXP...

 

How can I fix this with a script? :/

 

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Ok..

I temporarily fixed this with a switch activated every time a message is shown, but I'd prefer more a thing like the old rpgmakers...

 

 

Ok, this is how I did this:

 

I added $game_switches[number] = true under "refresh" of Window_message script

 

$game_switches[number] = false  under   def terminate_message of Window_message

 

Then every time a message ends, I call a common event to disactivate the switch...

 

then

 

then I went to "game_character 2" and ...

 

 

# Branch by move type
case @move_type
when 1 # Random
if $game_switches[39] == false
move_type_random
end
when 2 # Approach
if $game_switches[39] == false
move_type_toward_player
end
when 3 # Custom
if $game_switches[39] == false
move_type_custom
end
end

 

 

 

This kinda works for now... At least for event movements...

 if anyone knows a better way please tell me

 

Thank you people

Edited by Lawrence

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...