Hi everybody! I'm looking for a script to change the order of the actors in your party. I have one, but it's not compatible with any custom menu systems, because it uses Scene_Menu rather than making a new scene. This seems like a really simple thing, so I'm sure one exists, but I can't find any. Could someone please direct me to where I could find one?
My Easy Party Switcher allows you to switch the party members around, not just change them. But it might be an overhead, especially since you have the reserves window there.
Yeah, I saw that, but I was hoping for something without the reserve window. I'll mess around with it and see if I can get rid of the reserve window. Thanks!
There was one that allowed you to change the leader of your party on map.
class Scene_Map
alias modern_algebra_change_leader_modification update
def update
modern_algebra_change_leader_modification
if Input.trigger? (Input::R)
# 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::L)
# 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
I'm sure you want one for the actual menu though... Just thought I would try to throw that out there :P
Btw, if you do use that credit goes to Modern Algebra.
Quote from: Landith on June 15, 2012, 06:52:38 am
There was one that allowed you to change the leader of your party on map.
class Scene_Map
alias modern_algebra_change_leader_modification update
def update
modern_algebra_change_leader_modification
if Input.trigger? (Input::R)
# 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::L)
# 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
I'm sure you want one for the actual menu though... Just thought I would try to throw that out there :P
Btw, if you do use that credit goes to Modern Algebra.
Thanks! That should actually work really well!
No problem! Don't forget to credit Modern Algebra for the useful snippet :)