Help with Change Party Order script
#3
posting in your own thread to move it to the top of the list is called a bump. Which is what you just did o:

Code:
class Scene_Map
  alias modern_algebra_change_leader_modification update
  def update
    modern_algebra_change_leader_modification
    if Input.trigger? (Input::Letters["Q"]) && $game_switches[36] == true
      # Remove the Lead Actor
      old_lead = $game_party.actors.shift
      # Add the old leader back into the party
      $game_party.add_actor (old_lead.id)
    end
    if Input.trigger? (Input::Letters["W"]) && $game_switches[36] == true
      # Remove the last actor in the party
      new_lead = $game_party.actors.pop
      # Insert him as the lead actor
      $game_party.actors.unshift (new_lead)
      # Refresh $game_player to reflect new leader
      $game_player.refresh
    end
  end
end

It's just that simple.
Reply


Messages In This Thread
RE: Help with Change Party Order script - by MechanicalPen - 05-03-2014, 05:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   modifying the "exit" option in an existing script parawixlia 3 1,061 11-27-2026, 11:21 AM
Last Post: gamingirdb
   Is there a script to make train actors face the same way as the player? Ace_V 12 8,949 04-07-2026, 10:01 AM
Last Post: Ace_V
   Lead Actor Swapper script error Ace_V 25 31,201 09-07-2025, 01:22 PM
Last Post: DerVVulfman
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 3 8,513 11-22-2024, 07:02 PM
Last Post: JayRay
   Script compatibility help Lord Vectra 3 12,677 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Change event graphic? Bennerdeben 2 11,287 11-15-2020, 10:13 AM
Last Post: Bennerdeben
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 39,990 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   "Wait" in the script Whisper 13 36,554 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 36,127 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   Help iwth script (RGSS Player crash) Whisper 3 15,609 06-17-2017, 05:03 PM
Last Post: Whisper



Users browsing this thread: 1 Guest(s)