Notice: fwrite(): Write of 38 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 59 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 1714 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 44 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 836 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 8192 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 44 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 8192 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 2000 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
[RPGVXA] Character in party, but will not join battle.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RPGVXA] Character in party, but will not join battle.

Started by AbsoluteIce, November 28, 2012, 05:44:41 AM

0 Members and 1 Guest are viewing this topic.


Notice: fwrite(): Write of 243 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

AbsoluteIce

Is there any way to put the first actor in the party, but he's the only that will not join the random battles/any battles at all?
なんでやねん

D&P3

Like pokemon? Yes but not via eventing unless you want all of your battles to be completely evented/scripted.
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3

AbsoluteIce

Quote from: D&P3 on November 28, 2012, 07:06:05 AM
Like pokemon? Yes but not via eventing unless you want all of your battles to be completely evented/scripted.
Yeah. Problem is I can't seem to find a script, nor how to event something like this.   :V
なんでやねん

Mangomight

Aint much you can't do with scripting :-)

This code would do what you said, for VX atleast, probably for Ace too, if they haven't changed things around too much, I doubt it though.
#==============================================================================
# ** Game_Party
#------------------------------------------------------------------------------
#  This class handles the party. It includes information on amount of gold
# and items. The instance of this class is referenced by $game_party.
#==============================================================================

class Game_Party
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  attr_reader :actors # Define read attribute for Actors
end 

#==============================================================================
# ** Scene_Battle
#------------------------------------------------------------------------------
#  This class performs battle screen processing.
#==============================================================================

class Scene_Battle
  #--------------------------------------------------------------------------
  # * Start processing
  #--------------------------------------------------------------------------
  alias remove_actor_temp_start start
  def start
    $game_party.remove_actor(1)
    # Run original method
    remove_actor_temp_start
  end 
  #--------------------------------------------------------------------------
  # * End Battle
  #--------------------------------------------------------------------------
  alias mango_btle_end battle_end
  def battle_end(result)
    # Run original method
    mango_btle_end (result)
    # Insert the removed actor in the first position/index
    $game_party.actors.unshift(1)
    $game_player.refresh
  end
end