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

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

MZ plugins

PANDA Followers Control - PANDA_FollowersControl.js

Plugin desc : plug-in command set to control the follower members.

License : MIT License

Author : panda(werepanda.jp)

Website : https://www.werepanda.jp/

Desc page : http://www.werepanda.jp/blog/20220924223133.html

File name : PANDA_FollowersControl.js

Help of plugin :

* @target MZ
 * @plugindesc plug-in command set to control the follower members.
 * @author panda(werepanda.jp)
 * @url http://www.werepanda.jp/blog/20220924223133.html
 * 
 * @help This plug-in provides the following plug-in commands
 * to control the follower members.
 * 
 * * Followers to Events
 * Copy the image, position, and direction of the followers
 * to the specified events, and enables operations with event commands
 * in the same way as normal events.
 * - Event ID List :
 *    Specify the event IDs to convert from the followers
 *    in order from the first follower.
 *    The followers specified 0 will be not converted to events.
 * - Continue Showing Followers :
 *    Specify ON/OFF to continue showing player followers.
 *    It should be better to specify ON when only some followers leaves,
 *    and OFF when converting all followers to events.
 * 
 * * Set Followers Direction
 * Turn the followers to the specified direction.
 * - Follower Index :
 *    Specify the index of the target follower.
 *    1 is the first follower (= the second party member).
 *    When 0 is specified, all followers will be targeted.
 * - Direction :
 *    Specify the direction followers to turn.
 *    In addition to up, down, left, and right,
 *    you can also specify the same direction as the player character.
 * 
 * * Get Followers Position
 * Gets the current location and direction of the specified follower
 * into variables. Items without specifying variables will be ignored.
 * - Follower Index :
 *    Specify the index of the target follower.
 *    1 is the first follower (= the second party member).
 * - Map X Variable :
 *    Specify the variable to get the Map X coordinate of the target follower.
 * - Map Y Variable :
 *    Specify the variable to get the Map Y coordinate of the target follower.
 * - Direction Variable :
 *    Specify the variable to get the direction of the target follower.
 * 
 * [License]
 * this plugin is released under MIT license.
 * https://opensource.org/licenses/mit-license.php
 * 
 * 
 * @command ToEvents
 * @text Followers to Events
 * @desc Converts followers into the specified events. The follower's image, position, and direction will be inherited to the event.
 * 
 * @arg eventList
 * @text Event ID List
 * @desc Event IDs converted from the followers. Specify ID in order from the first follower. If 0, it will be ignored.
 * @type number[]
 * @decimals 0
 * @min 0
 * @default ["0"]
 * 
 * @arg followersState
 * @text Continue Showing Followers
 * @desc Specify ON/OFF to continue showing player followers.
 * @type boolean
 * @default false
 * 
 * 
 * @command SetDirection
 * @text Set Followers Direction
 * @desc Turn the followers to the specified direction.
 * 
 * @arg followerIndex
 * @text Follower Index
 * @desc Specify the index of the target follower. 1 is the first follower. 0 means all followers.
 * @type number
 * @decimals 0
 * @min 0
 * @default 0
 * 
 * @arg direction
 * @text Direction
 * @desc Specify the direction followers to turn
 * @type select
 * @default 0
 * @option The same direction as the player
 * @value 0
 * @option Down
 * @value 2
 * @option Left
 * @value 4
 * @option Right
 * @value 6
 * @option Up
 * @value 8
 * 
 * 
 * @command GetPosition
 * @text Get Followers Position
 * @desc Gets the current location and direction of the specified follower into variables.
 * 
 * @arg followerIndex
 * @text Follower Index
 * @desc Specify the index of the target follower. 1 is the first follower.
 * @type number
 * @decimals 0
 * @min 1
 * @default 1
 * 
 * @arg varMapX
 * @text Map X Variable
 * @desc Specify the variable number to get the Map X coordinate of the target follower.
 * @type variable
 * @default 0
 * 
 * @arg varMapY
 * @text Map Y Variable
 * @desc Specify the variable number to get the Map Y coordinate of the target follower.
 * @type variable
 * @default 0
 * 
 * @arg varDirection
 * @text Direction Variable
 * @desc Specify the variable number to get the direction of the target follower.
 * @type variable
 * @default 0
 * 
 *

スポンサードリンク

-MZ plugins

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