Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

I'm trying to use this plugin to move the Item and PartyFormation's command to the party menu rather than the actor menu. Is that possible? Would it require a complicated js script or is it a simple as finding the code in the game core files and copy pasting it into the plugin script call?

Hi, do you have some other plugin that adds a Formation command to battle for actors? Formation is available in the menu only, not in battle by default. If you have another plugin that adds it to battle, you could hook it up using this plugin to a command, you would just need to ask the other plugin author what js is needed to access the command.

For the item command, how would you expect it to work from the party command window? By default, using an item in battle makes an actor use that item when it is their turn. If called from the party command window, which actor would you want to use the item, and after selecting an item from the party command window, would you expect the player to end up back at the party command window, and would the actor have their command selection skipped if an item was selected?

For items it would be a 1 use per turn kind of thing. Like an all party guard command. As for formation I didn't think of that. After checking my plugins for it, there is already something for that. My bad.

I am glad you were able to get the formation working. For the item, you could try the JS:

this.selectNextCommand();
this.commandItem();

Basically, this will act as if you had hit Fight and then selected Item for your first actor.

(1 edit)

Thank you so much that was a big help but for some reason it also opens the actions menu as well and I can still interact with it. Could I put in a code that closes that menu when the Item menu opens or rather keep it on the Party Command Menu instead. 

I am not sure what the actions menu is, are you using some other battle plugins as well? You could try this instead, I guess it might be more compatible if another plugin customizes what the fight command does:

this.commandFight();
this.commandItem();

You cannot keep it on the party command menu because battle needs to know which actor is using the item as part of their turn, and there is no actor set on the party command window. If you want some mechanic where no actor uses the item for their turn, but it still gets used somehow, you would need some plugin for that as this plugin doesn't add its own mechanics it just allows you to run JS from the battle command windows.

Okay. Thank you for all of this, you were big help.