Two issues with my plan

Hi everyone. I spent most of today building my ideas to make sure they are doable within the confines of the program and so far every idea I have apart from 2 work as intended. I just can't figure out these last two. I'm hoping someone with a lot more experience can shed some light on my frazzled brain lol.

The issues I have revolve around magic keys and what they can do.

• 1st issue - [edited] Portal key now sorted but came across another issue.

I understand only 4 party members can only fight if you have over 4 members. However I plan on using a tactical battle plugin anyway so that doesn't matter. What I'm after, is a way to prevent any other party members from joining unless you swap them with whomever you wish to join you.

At the moment it seems you can have an endless list of characters show in the menu, but I want to cap it so only a specific number of characters can be in your menu. This will prevent the player from equipping them with items when they are NOT in your current line up and are hanging out at HQ instead. I have also planned a skill tree system, so I want to ensure members at HQ do not gain points whilst out of battle.

Is there a way of doing this? It would also make the menu a lot tidier instead of having a long line of characters. To scroll through.

• 2nd issue - Is it possible to have items and equipment trigger events when you use them in your inventory? If so, how?

One key is a glass key. The idea is the key is equipable and you can wear them as glasses. When you do, it will turn on a switch allowing you to see things you would not normally see. However when checking the system, armour and item screens, I see no way of triggering events when you equip something?

Other keys need to be interacted with in your inventory and combined together, so this idea is an issue too for the same reasons. The only difference is these ones will be considered as items and not equippable gear.

Thanks for your time and reading the above. I'm hoping I wont need to change any script/code. Thanks in advance to anyone who can help me resolve these issues
How can I tell the game to provide a LIST of locations you can choose from, but ONLY of places you have been to? The choice branch obviously wont work because you can only preset the choices.
check himeworks.com for Tsukihime's choice option plugins. she has several for MV giving conditional choices, more choices in the same list and so on.
works better with switches instead of numbers for activating points however.

I see no way of triggering events when you equip something?
no, but again that function is provided by several plugins - I just don't know which ones atm, so you should search for that yourself.
Other keys need to be interacted with in your inventory and combined together, so this idea is an issue too for the same reasons. The only difference is these ones will be considered as items and not equippable gear.
for items you can attach common events that are triggered on use - then simply check if all components are available and if yes, change them to the combined item.

attention: only one common event can be attached and work, unless you use a plugin to implement a common event queue for multiple CE's on items.
How can I tell the game to provide a LIST of locations you can choose from, but ONLY of places you have been to?
Have you considered using the Select Item command? You could make an Item for each of the locations, then let the player select one of those. Items of one of the Hidden types won't show up in the inventory, so they're ideal for this kind of thing.

Is it possible to have items and equipment trigger events when you use them in your inventory? If so, how?
Items, yes! Equipment...I don't think so.
The idea is the key is equipable and you can wear them as glasses. When you do, it will turn on a switch allowing you to see things you would not normally see.
You could have a common event with Parallel trigger that checks all party members for equipment every few frames and toggles a switch based on that. Or you could look for a suitable plugin.
Other keys need to be interacted with in your inventory and combined together, so this idea is an issue too for the same reasons. The only difference is these ones will be considered as items and not equippable gear.
Like Andar said, just give the Item a Common Event effect: the game will exit the menu and the event will run on the map. The Select Item command can also be helpful for event-based crafting like this.

(Common Events are defined in the Database. Events that are called should have their trigger set to "None".)
I understand only 4 party members can only fight if you have over 4 members. However I plan on using a tactical battle plugin anyway so that doesn't matter. What I'm after, is a way to prevent any other party members from joining unless you swap them with whomever you wish to join you.

At the moment it seems you can have an endless list of characters show in the menu, but I want to cap it so only a specific number of characters can be in your menu. This will prevent the player from equipping them with items when they are NOT in your current line up and are hanging out at HQ instead. I have also planned a skill tree system, so I want to ensure members at HQ do not gain points whilst out of battle.

Is there a way of doing this? It would also make the menu a lot tidier instead of having a long line of characters. To scroll through.

I'd imagine you'd just have whatever event is adding the character to your party check to see how many members you have first, and prompt you to remove a character if you already have four. So, use $gameParty.members().length to see how many members you have, and if it's 4, choose a character to remove before adding the new one. (You might want to do things like remove all their equipment before removing them too).
At the moment it seems you can have an endless list of characters show in the menu, but I want to cap it so only a specific number of characters can be in your menu.
control variable : game data : Party member #4

gives you the ID of the actor in forth position.
if that is zero the slot is empty and you can add more actors.
if that gives a number greater than zero, then there is a forth party member and you abort the event that was supposed to add an actor.

just a non-scripted way to do the same as the script variant given in the post above.
Alternatively you can get the number of actors currently in the party using:
  • Control Variables -> Game Data -> Other -> Party Members.

For the "toggle event on equip" thing, this plugin might be helpful?
If I've interpreted its help/code correctly, I think it lets you put a tag like <TOESSwitchTarget:3> in the Note field of a Weapon/Armor. Then when it is (un)equipped, the indicated switch (3 in this case) will be toggled on/off.
Thank you everyone for your assistance with this one. Look forward to testing these methods out. I should hopefully have every idea working for now after this
I just now need to import a tactical battle plugin and hope it's not broken or buggy lol. I would love to create and add battle animations similar to shining force. But that will depend on the plugin. I have a work around in mind using variables to possibly identify when a character/enemy is healthy, low on health or dead, to determine what battle animation to show....... I'll cross that bridge at a later date

Original thread: https://forums.rpgmakerweb.com/threads/two-issues-with-my-plan.176907/