Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

When timer is 0:00, because I set a timer, battles are interrupted. How can I...

How can I avoid this? There should be some script to avoid battles being interrupted when a timer is 0:00... Please I really need your help because I have  deadline, I'm really looking forward to your reply.

RPG Maker XP's what I'm using. Please I need your help very badly, I really mean it.
 
I want to keep it at 0:00. It's the way it should happen in the game. What can I do in the game's cript for it to stop interrupting battles when timer is 0:00?

If you don't understand my question, just create a new RMXP project, set parallel process with a timer starting at 0:00 and set random encounters in the area, then test play.
 
you should use a different timer anyway... the RMXP one is bad, and it just cant be edited like all the user frindly scripts here... i recommend searching for a new one or coding one yourself to your needs... its the easiest way for anything to be "perfect"
 
I can't script ANYTHING... that's the problem...

Hey, which "friendly user" script do you suggest me to use, and how do I use it the same way as the normal timer that comes with the game?
I don't know any scripting at all so it's hard for me to get over this problem... And is there really no way to make the default timer not interrupt battles when it's 0:00?
 
well the scene_battle 1 uses the timer to determine when the battle should end... as such it will always close when the tiemr is 0... BUT if you remove line 242 and lines 245 to 248:

Code:
242: $game_system.update
---
245: if $game_system.timer_working and $game_system.timer == 0
246:   # Abort battle
247:   $game_temp.battle_abort = true
248: end

then the timer wont update during battle (wont decrease) and the battle wont end when the timer = 0

i think... i looked and saw and wrote... didnt test XD
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top