Lock Skills for actors not in battle party.

Roogle

Warper
Member
Joined
Jan 29, 2014
Messages
2
Reaction score
0
First Language
English
Primarily Uses
I'm currently working on my first project and would like to keep my battle party size to 4 members, while having 8 choices of actors in the party. Currently using Yanfly's Party System to manage my party, however I cannot seem to find a way to prevent non battling actors from using skills from the menu (heals etc.) which doesn't make sense in some areas where the four battlers are meant to be alone. I don't want to remove them from the party entirely as they will no longer share exp.

Any help would be greatly appreciated. Thanks!
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
You can remove them from party, and probably just save the EXP to be gained...

otherwise,

class Game_Party def menu_actor_next_roogle index = battle_members.index(menu_actor) || -1 index = (index + 1) % battle_members.size self.menu_actor = battle_members[index] end def menu_actor_prev_roogle index = battle_members.index(menu_actor) || 1 index = (index + battle_members.size - 1) % battle_members.size self.menu_actor = battle_members[index] endendclass Scene_Skill def next_actor @actor = $game_party.menu_actor_next_roogle on_actor_change end def prev_actor @actor = $game_party.menu_actor_prev_roogle on_actor_change endendThis will only affect who can use skills though, you can still target the other actors I think...DISCLAIMER: I'm not sure if it works, but I think it should
 
Last edited by a moderator:

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
You can remove them from party, and probably just save the EXP to be gained...

otherwise,

class Game_Party def menu_actor_next_roogle index = battle_members.index(menu_actor) || -1 index = (index + 1) % battle_members.size self.menu_actor = battle_members[index] end def menu_actor_prev_roogle index = battle_members.index(menu_actor) || 1 index = (index + battle_members.size - 1) % battle_members.size self.menu_actor = battle_members[index] endendclass Scene_Skill def next_actor @actor = $game_party.menu_actor_next_roogle on_actor_change end def prev_actor @actor = $game_party.menu_actor_prev_roogle on_actor_change endendThis will only affect who can use skills though, you can still target the other actors I think...
Can't you just remove a party members(no edit to script needed), and as long as you don't have the initialize box checked, you can add them to party later on, and they'll be at where they left off.

To make it faily easy to switch between party members, you can always make a NPC/guild do such or if that's not accessible enough, you can always make a item that calls a common event, that will allow you to switch party members.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Can't you just remove a party members(no edit to script needed), and as long as you don't have the initialize box checked, you can add them to party later on, and they'll be at where they left off.


To make it faily easy to switch between party members, you can always make a NPC/guild do such or if that's not accessible enough, you can always make a item that calls a common event, that will allow you to switch party members.
Again you didn't READ HIS POST COMPLETELY...

Roogle said:
I don't want to remove them from the party entirely as they will no longer share exp.
Next time I do suggest you read completely first before replying... I know you just want to help, but really, try reading everything completely first before replying so that you don't end up putting up nonsense replies...
 
Last edited by a moderator:

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
AGAIN YOU DIDN'T READ HIS POST COMPLETELY...

Next time I do suggest you read completely first before replying...
Woops my bad(I'm posting on three forums, so I missed that).
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
of course there are workarounds for that (the exp thing), but AFAIK, they will be much lot of work than just using a plug-and-play script like that


Plus he is using Yanfly's Party manager, which I think there might a reason as to why he used it... so removing somebody from a party is out of the situation...
 
Last edited by a moderator:

Vinedrius

Member Title
Veteran
Joined
May 14, 2012
Messages
251
Reaction score
94
First Language
Turkish
Primarily Uses
RMVXA
Is it possible to set up a variable to record how much xp is gained? If that is possible, it can be used to apply the accumulated xp to the reserve party members when they become available, right? Just a thought of a newb : p I remember seeing a similar question recently and was wondering about this too.
 
Last edited by a moderator:

Roogle

Warper
Member
Joined
Jan 29, 2014
Messages
2
Reaction score
0
First Language
English
Primarily Uses
You can remove them from party, and probably just save the EXP to be gained...

otherwise,

class Game_Party def menu_actor_next_roogle index = battle_members.index(menu_actor) || -1 index = (index + 1) % battle_members.size self.menu_actor = battle_members[index] end def menu_actor_prev_roogle index = battle_members.index(menu_actor) || 1 index = (index + battle_members.size - 1) % battle_members.size self.menu_actor = battle_members[index] endendclass Scene_Skill def next_actor @actor = $game_party.menu_actor_next_roogle on_actor_change end def prev_actor @actor = $game_party.menu_actor_prev_roogle on_actor_change endendThis will only affect who can use skills though, you can still target the other actors I think...DISCLAIMER: I'm not sure if it works, but I think it should
I've tried this in Game_party and in materials but with no effect, I'm not sure I'm doing it correctly, thank you for your response however!
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
you're just meant to paste it on a blank script... hmmmm... I forgot to copy it on my flash drive when I went home... I'll test it and fix it later


@vinedrai - yes, but that can be cumbersome to manage...
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top