An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

LL Actor Choices - LL_ActorChoices.js

Plugin desc : Adds a plugin command to select an actor.

License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Prohibited (This does not apply to works made using the material.)
・Details: See Download Page / In-plugin documentation

Author : Lulu's Church

Website : https://nine-yusha.com/

Desc page : https://nine-yusha.com/plugin-actorchoices/

File name : LL_ActorChoices.js

Help of plugin :

* @target MZ
 * @plugindesc Adds a plugin command to select an actor.
 * @author Lulu's Church
 * @url https://nine-yusha.com/plugin-actorchoices/
 *
 * @help LL_ActorChoices.js
 *
 * Adds a plugin command to let the player select an actor.
 *
 * Plugin Command:
 *   Actor Selection: Prompts the player to choose an actor, and stores
 *   the result in a variable.
 *
 * Terms of use:
 *   ・No copyright notice required.
 *   ・No report needed for use.
 *   ・Free for commercial and non-commercial.
 *   ・No restriction for adult works.
 *   ・You may modify freely for your game.
 *   ・Redistribution as plugin material (incl. modified) prohibited.
 *
 * Author: Lulu's Church
 * Date: 2022/11/9
 *
 * @command showActorChoices
 * @text Actor Selection
 * @desc Lets the player choose an actor and stores the result in a variable.
 *
 * @arg selectType
 * @text Selection Type
 * @desc Choose which actors can be selected.
 * @type select
 * @default partyMember
 * @option Current Party Members
 * @value partyMember
 * @option KO'd Party Members
 * @value deadPartyMember
 * @option Alive Party Members
 * @value alivePartyMember
 * @option All But First Member
 * @value secondPartyMember
 * @option Non-party Members
 * @value reserveMember
 * @option All Members
 * @value allMember
 *
 * @arg variableNumber
 * @text Result Variable
 * @desc Variable ID to store the selected actor ID.
 * @type variable
 *
 * @arg cancelType
 * @text Allow Cancel
 * @desc If cancelled, -1 will be stored in the variable.
 * @default true
 * @type boolean
 *
 * @arg background
 * @text Choice Background
 * @desc Choose the background style for the choice window.
 * @type select
 * @default 0
 * @option Window
 * @value 0
 * @option Dim
 * @value 1
 * @option Transparent
 * @value 2
 *
 * @arg positionType
 * @text Choice Position
 * @desc Choose the screen position for the choice window.
 * @type select
 * @default 2
 * @option Left
 * @value 0
 * @option Center
 * @value 1
 * @option Right
 * @value 2
 *
 * @arg maxLines
 * @text Max Choice Lines
 * @desc Maximum number of lines shown in the choice window.
 * Default is 8.
 * @type number
 * @default 8
 * @min 1
 * @max 8
 *
 * @arg messageText
 * @text Message Text
 * @desc Optional message text to show with the choices.
 * Supports control characters.
 * @type multiline_string
 *
 * @arg messageBackground
 * @text Message Background
 * @desc Choose the background style for the message window.
 * @type select
 * @default 0
 * @option Window
 * @value 0
 * @option Dim
 * @value 1
 * @option Transparent
 * @value 2
 *
 * @arg messagePositionType
 * @text Message Position
 * @desc Choose the screen position for the message window.
 * @type select
 * @default 2
 * @option Top
 * @value 0
 * @option Middle
 * @value 1
 * @option Bottom
 * @value 2
 *
 * @arg messageSpeakerName
 * @text Speaker Name
 * @desc Optional name label to show. Leave blank to hide the name box.
 * @type string
 *
 * @arg messageFaceName
 * @text Face Graphic
 * @desc Face image to show. Leave blank to hide the face graphic.
 * @dir img/faces
 * @type file
 * @require 1
 *
 * @arg messageFaceIndex
 * @text Face Index
 * @desc Index of the face graphic (starts from 0 at top-left).
 * @type number
 * @default 0
 * @min 0
 * @max 7
 *
 * @arg selectActorLists
 * @text Filter Actor List
 * @desc If set, only these actors will appear in the choices.
 * Leave blank for no filtering.
 * @default []
 * @type struct<selectActorLists>[]

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2025 All Rights Reserved.