RMXP Blizz-ABS Party Member Switching Disabled?

Started by Bernkastel, May 14, 2010, 07:19:28 pm

Previous topic - Next topic

Bernkastel

This may be a stupid question, but I've read through the Blizz-ABS manual, and I can't figure out how to disable the party leader switching..thing.

Is there any way to disable it? :S

Subsonic_Noise

Try to set the button assigned for it to "nil" (without the "), that should work.

Bernkastel

Quote from: Subsonic_Noise on May 14, 2010, 07:45:50 pm
Try to set the button assigned for it to "nil" (without the "), that should work.


*cough*

What button?
>_______________>

Subsonic_Noise

Quote from: Bernkastel on May 14, 2010, 08:04:22 pm
Quote from: Subsonic_Noise on May 14, 2010, 07:45:50 pm
Try to set the button assigned for it to "nil" (without the "), that should work.


*cough*

Bless you.
Quote from: Bernkastel on May 14, 2010, 08:04:22 pm
What button?
>_______________>

Didn't you mean that function where you can switch the party leader by pressing a button? If not, my bad.

Bernkastel

Yes, but I don't know what part of the script the 'nil' is supposed to go.

Derp.

Subsonic_Noise

May 14, 2010, 08:18:39 pm #5 Last Edit: May 14, 2010, 08:35:54 pm by Subsonic_Noise
Quote from: Bernkastel on May 14, 2010, 08:09:00 pm
Yes, but I don't know what part of the script the 'nil' is supposed to go.

Derp.

Well, there is the configuration in the first script, where you configure... wait, what the hell? The button for the member switching isn't there o.O
I'll have to look for it. *walks off in shame*

Okay, in case you still need the "select" button (I currently have no clue what it is used for, I'm tired) go to the 3nd BlizzABS script, line 2794, this is where the leader switching seems to be defined.

So, change this:
# if battler exists and either dead or select triggered
      if player.battler != nil && ($game_system.select_button &&
          Input.trigger?(Input::Select) || player.battler.dead?)
        # switch to next valid actor
        switch_leader
      end


to this
# if battler exists and either dead or select triggered
         # if player.battler != nil && ($game_system.select_button &&
         #  Input.trigger?(Input::Select) || player.battler.dead?)
         # switch to next valid actor
         # switch_leader
         # end


...I could have just said "comment it out". Meh. You could delete it too, but this way you can always change it back quickly.

Bernkastel

Quote from: Subsonic_Noise on May 14, 2010, 08:18:39 pm
Quote from: Bernkastel on May 14, 2010, 08:09:00 pm
Yes, but I don't know what part of the script the 'nil' is supposed to go.

Derp.

Well, there is the configuration in the first script, where you configure... wait, what the hell? The button for the member switching isn't there o.O
I'll have to look for it. *walks off in shame*

Okay, in case you still need the "select" button (I currently have no clue what it is used for, I'm tired) go to the 3nd BlizzABS script, line 2794, this is where the leader switching seems to be defined.

So, change this:
# if battler exists and either dead or select triggered
      if player.battler != nil && ($game_system.select_button &&
          Input.trigger?(Input::Select) || player.battler.dead?)
        # switch to next valid actor
        switch_leader
      end


to this
# if battler exists and either dead or select triggered
         # if player.battler != nil && ($game_system.select_button &&
         #  Input.trigger?(Input::Select) || player.battler.dead?)
         # switch to next valid actor
         # switch_leader
         # end


...I could have just said "comment it out". Meh. You could delete it too, but this way you can always change it back quickly.



I did that and got a syntax error. :\

WhiteRose

If I recall correctly, the Select button serves no purpose other than to change the party leader. Go ahead and set it to nil. That should solve your problem. :)

Bernkastel

Quote from: WhiteRose on May 15, 2010, 12:19:36 am
If I recall correctly, the Select button serves no purpose other than to change the party leader. Go ahead and set it to nil. That should solve your problem. :)


I'm sorry for being so uneducated. :x

How do I set it to nil...I already see a nil there, and I don't recognize any other part that could possibly have that. o-o

Blizzard

Better don't set it to nil but disable the button itself as soon as the game starts. Read the manual for the script call. Just use the search function to find it, search for select_button or switch_button.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

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.

Subsonic_Noise

I should really stop trying to help people at 2 am. :/

nathmatt

Quote from: Subsonic_Noise on May 14, 2010, 08:18:39 pm

Well, there is the configuration in the first script, where you configure... wait, what the hell? The button for the member switching isn't there o.O
I'll have to look for it. *walks off in shame*

Okay, in case you still need the "select" button (I currently have no clue what it is used for, I'm tired) go to the 3nd BlizzABS script, line 2794, this is where the leader switching seems to be defined.

So, change this:
# if battler exists and either dead or select triggered
      if player.battler != nil && ($game_system.select_button &&
          Input.trigger?(Input::Select) || player.battler.dead?)
        # switch to next valid actor
        switch_leader
      end


to this
         # if battler exists and either dead or select triggered
         # if player.battler != nil && ($game_system.select_button &&
         #  Input.trigger?(Input::Select) || player.battler.dead?)
         # switch to next valid actor
         # switch_leader
         # end

...I could have just said "comment it out". Meh. You could delete it too, but this way you can always change it back quickly.
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


Blizzard

Exactly. You can disable it via a script call so you don't have to mess around with the code of Blizz-ABS.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

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.

Bernkastel

Okay, thank you!

I decided to call the script command, and use this code

$game_system.select_button = nil


And when I want to switch back, I can just use

$game_system.select_button = 1


Quote from: nathmatt on May 15, 2010, 08:28:37 am
Quote from: Subsonic_Noise on May 14, 2010, 08:18:39 pm

Well, there is the configuration in the first script, where you configure... wait, what the hell? The button for the member switching isn't there o.O
I'll have to look for it. *walks off in shame*

Okay, in case you still need the "select" button (I currently have no clue what it is used for, I'm tired) go to the 3nd BlizzABS script, line 2794, this is where the leader switching seems to be defined.

So, change this:
# if battler exists and either dead or select triggered
      if player.battler != nil && ($game_system.select_button &&
          Input.trigger?(Input::Select) || player.battler.dead?)
        # switch to next valid actor
        switch_leader
      end


to this
         # if battler exists and either dead or select triggered
         # if player.battler != nil && ($game_system.select_button &&
         #  Input.trigger?(Input::Select) || player.battler.dead?)
         # switch to next valid actor
         # switch_leader
         # end

...I could have just said "comment it out". Meh. You could delete it too, but this way you can always change it back quickly.




Thank you for putting it in 'Bern is retarded terms'. :) I can be pretty stupid sometimes.

Blizzard

Using "true" and "false" would be cleaner, but yeah "1" and "nil" work actually. xD
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

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.