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.

[scrip RQ]

RMXP or RMVX: RMXP
Detailed Description: I would really apreciate it if someone would like to make my script request. What I want is the following, it's actually pritty simple. When the first battler dies (With the standard tiles, battlers, etc etc), I want the game to select the next battler and that you can walk with hím. For short: When battler 1 dies, I want that you can walk with battler 2. I hope you all understand it well enough to consider doing my request. Thanks in advance.
 
(Please make your request topics better, IE: Change Lead Actor)

Try something like this:
Code:
class Game_Party

  def cycle_forward

    @actors << @actors.shift

    $game_player.refresh

  end

  def cycle_backward

    @actors.insert(0, @actors.pop)

  end

end

 

class Scene_Map

  alias_method :seph_forcepartycycle_scnmap_update, :update

  def update

    unless $game_party.all_dead?

      if $game_party.actors[0].dead?

        $game_party.cycle_forward

      end

    end

    seph_forcepartycycle_scnmap_update

  end

end

Let me know if it doesn't work.
 
It works, thanks ^_^
I present you now:
1243081727-090.gif
 

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