Actor Command Columns
Actor Command Columnsby Joronjo
Description
A simple plugin that adds the ability to add columns to the Actor Command window (the window where you choose whether to use skills, items, guard, etc). As of now, it does not alter any other aspect of the Actor Commands, but I'm working o a general AC mod plugin.
Screenshots
Spoiler
Dependencies/Compatibility
- No dependencies
- As it doesn't overwrite anything, there are no incompatibilities that i'm aware of.
- Can be placed in any order.
Script code
Spoiler//=============================================================================// Actor Command Columns//=============================================================================//============================================================================= /*: * @plugindesc Adds Columns to the Actor Command Window * @author Joronjo * * @help Allows the Actor Command Window in Battle to have multiple columns. * Thanks to Kenen for providing the basic code. ** ===== Changelog ======== * Version 1.0 ** @param Number of Rows * @desc Specify the number of columns.* The commands will size themselves to fit the Actor Command window * @default 1 *///=============================================================================(function () { var parameters = PluginManager.parameters('Actor Command Columns'); //-----------------------------------------------------------------------------// Window_ActorCommand//// The window for selecting an actor's action on the battle screen. Window_ActorCommand.prototype.maxCols = function () { if ((Number(parameters['Number of Rows'])) <= 1) { return 1; } else { return (Number(parameters['Number of Rows'])); } };}())
Download Link
Actor Command Columns
License
Free to use for non-commercial and commercial purpose. Credit not necessary but always appreciated. If you make a game with it, I would appreciate a copy though.
Credits
Many thanks to Kenen, for providing the basic code.
Extra notes
This is my first plugin, so any critique is appreciated.
本贴来自国际rpgmaker官方论坛作者:Joronjo处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/actor-command-columns.50800/
页:
[1]