[XP] Easy Party Switcher

Started by Blizzard, January 09, 2008, 04:30:52 pm

Previous topic - Next topic

Blizzard

It's possible that he assigned a non-existing actor graphic.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

TNBProductions

i was wondering that since it says that the conditions can be waived if i get permission from the copyright holder. can i have your permission?

Blink akita

okay so im a total newb at this so dont have a go at me XD

When i use the party member option from the game menu it shows all my characters there, in my game you start off with one character and gradually get more than 4 which is why i wanted this script sorry if i missed somthing written down but is there a way to add members into reserve as you meet them and not them already being there?

G_G

Try this, just place it in a new script below Scene_Title.
class Scene_Title
  alias gg_new_game_party_lat command_new_game
  def command_new_game
    gg_new_game_party_lat
    for i in 1...$data_actors.size
      $game_actors[i].disabled_for_party = true
    end
  end
end


Then to enable them use this code. Should work.
$game_actors[ID].disabled_for_party = false

Blink akita

Quote from: game_guy on August 23, 2011, 09:25:02 pm
Try this, just place it in a new script below Scene_Title.
class Scene_Title
  alias gg_new_game_party_lat command_new_game
  def command_new_game
    gg_new_game_party_lat
    for i in 1...$data_actors.size
      $game_actors[i].disabled_for_party = true
    end
  end
end


Then to enable them use this code. Should work.
$game_actors[ID].disabled_for_party = false



any where do you put the next code? is it like, if your party is full they automaticly go to reserv

G_G

That last code you use in script call events. Its located on the 3rd page of the event commands. You use that line when you want to put the member back into the party switcher.

Blink akita

Quote from: game_guy on August 23, 2011, 09:38:33 pm
That last code you use in script call events. Its located on the 3rd page of the event commands. You use that line when you want to put the member back into the party switcher.


final quetions...

What do i ao about

"" name error occurred while running script

uninitialized constant interpreter ::ID ""

G_G

ID has to be the id of the actor you want to add. Open up the database and you see that little number next to the actors name. Thats the actor's id.

Blink akita


Shy

I'm new to this kind of stuff (I've just learned how to make switches in games!) and I have a question... How do make this show up in the game? Do I press a button, or something else? If not pressing a button, what? Could I make an item that would allow me to switch?

Thank you!

Blizzard

It's explained in the instructions on top of the script.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

wolfitsune

I got an issue similar to an early one in the thread, but it wasn't addressed.

Script 'Easy Party Switcher' line 1047: NoMethodError ocurred
undefined method 'exp' for nil:NilClass

Anyone know what's wrong and/or how to fix?

Blizzard

Quote from: Blizzard on January 09, 2008, 04:30:52 pm
Compatibility

98% compatible with SDK v1.x. 90% compatible with SDK 2.x. Can cause incompatibility issued with other Party Change Systems. WILL corrupt your old savegames.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

wolfitsune

i made sure to start a new game. it comes up during the first attack of a battle.

Blizzard

I'm not able to reproduce it. If you can make a demo of the problem, I can take a look at it.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

wolfitsune

Ok, i think i figured out where the error comes from. I have a battle results screen script, and i think that's what's causing the bug.

Blizzard

It was the custom battle result script. While it's actually a problem with other scripts and how they do stuff, I have added a fix for that in version 2.5.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

wolfitsune


Someone

October 20, 2012, 11:05:43 am #178 Last Edit: October 20, 2012, 11:07:05 am by Someone
I'm having a bit of a problem here.
I installed the script, and it seemed to work. BUT the .disabled_for_party thing is not working for me. It says I've got a Syntax error.
Also, the "unavailable" function doesn't appear to be working either. It doesn't give an error, it just doesn't work.  :'(

I checked out the demo that you've provided, but the script is broken there as well. It opens the party interface, but all characters are available all the time. And according to Siegfried, they shouldn't be.

KK20

Can I see the exact syntax that you are using?

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!