RPGツクールMV用プラグイン投稿・告知サイト

#ツクプラ

イベントの集合(MV&MZ) - RX_T_EvGather.js

シェア用テキスト:
▼イベントの集合(MV&MZ)(TYPE74RX-T様作) - RX_T_EvGather.js
https://plugin.fungamemake.com/archives/27354
指定のイベントをプレイヤーがいる位置に集合させます。 また、座標を指定してイベントを集合させることもできます。

ふりがな:いべんとのしゅうごう(MV&MZ)

機能概要: 指定のイベントをプレイヤーがいる位置に集合させます。 また、座標を指定してイベントを集合させることもできます。

利用規約(ライセンス): MITライセンス

作者:TYPE74RX-T

作者サイト:https://mdc-light.jpn.org/TYPE74RX-T/

ダウンロードページ:https://w.atwiki.jp/type74rx-t/pages/235.html

ファイル名:RX_T_EvGather.js

プラグインのヘルプ:

//=============================================================================
// Plugin_Name : Gathering the Events
// File_Name   : RX_T_EvGather.js
// Version     : 1.01
// Copylight   : 2015 TYPE74RX-T
//=============================================================================


//=============================================================================
/*:
 * @target MV MZ
 * @plugindesc 指定のイベントをプレイヤーがいる位置に集合させます。
 * @author TYPE74RX-T
 * @url https://w.atwiki.jp/type74rx-t/pages/221.html
 *
 * @command gatheringEvents
 * @text Gathering the Events
 * @desc Gathering the specified events to the
 * player's location.
 *
 * @arg EventID
 * @text Event ID
 * @desc The event ID of the target you want to gather.
 * Example:1-4, 5, 14, 59-63
 * @default 1
 * @type string
 *
 * @arg moveToX
 * @text Move to X
 * @desc Position to gather events (X)
 * X, Y, both -1: Same position as the player.
 * @default -1
 * @min -1
 * @type number
 *
 * @arg moveToY
 * @text Move to Y
 * @desc Position to gather events (Y)
 * X, Y, both -1: Same position as the player.
 * @default -1
 * @min -1
 * @type number
 *
 * @help Gathering the Events
 *
 * This plugin is compatible with RPG Maker MV and RPG Maker MZ.
 *
 * ◆Summary
 * Gathering the specified events to the player's location.
 * And, You can also gathering events by specifying the coordinates.
 *
 * ◆Usage
 * 【Event command "Script"】
 * (This is the only way to set it up in RPG Maker MV.)
 * To gather Event ID 1, Event ID 3, and Event ID 5 at the player's location
 *
 * this.ev_gather([1, 3, 5]);
 *
 * If you want to gather events in a specific coordinate, you can use
 * Set up additional X and Y as shown below.
 *
 * this.ev_gather([eventID1, eventID2], x, y);
 *
 * 【Plugin Command】
 *(This method is exclusive to RPG Maker MZ.)
 * ★Event ID
 * The event ID of the target you want to gather.
 * Multiple selections are possible.
 * Example:1-4, 5, 14, 59-63
 *
 * ★Move to X(or Y)
 * Position to gather events.
 * If both X and Y are set to -1, they will gather at the same position
 * as the player.
 *
 * ◆License
 * This plugin is released under MIT license.
 * http://opensource.org/licenses/mit-license.php
*/
/*:ja
 * @target MV MZ
 * @plugindesc 指定のイベントをプレイヤーがいる位置に集合させます。
 * @author TYPE74RX-T
 * @url https://mdc-light.jpn.org/TYPE74RX-T/
 *
 * @command gatheringEvents
 * @text イベントの集合
 * @desc 指定のイベントをプレイヤーがいる位置に集合させます。
 * また、座標を指定してイベントを集合させることもできます。
 *
 * @arg EventID
 * @text イベントID
 * @desc 集合させる対象となるイベントIDです。
 * 例:1-4, 5, 14, 59-63
 * @default 1
 * @type string
 *
 * @arg moveToX
 * @text 移動先座標X
 * @desc イベントの集合先の座標Xです。
 * X、Yともに-1でプレイヤーと同じ位置に集合します。
 * @default -1
 * @min -1
 * @type number
 *
 * @arg moveToY
 * @text 移動先座標Y
 * @desc イベントの集合先の座標Yです。
 * X、Yともに-1でプレイヤーと同じ位置に集合します。
 * @default -1
 * @min -1
 * @type number
 *
 * @help イベントの集合(MV&MZ)
 *
 * このプラグインはRPGツクールMV、RPGツクールMZに対応しています。
 *
 * ◆概要
 * 指定のイベントをプレイヤーがいる位置に集合させます。
 * また、座標を指定してイベントを集合させることもできます。
 *
 * ◆使い方
 * 【イベントコマンド「スクリプト」】
 * (RPGツクールMVではこの方法のみとなります。)
 * イベントID1、イベントID3、イベントID5をプレイヤーのいる位置に集合させる場合
 *
 * this.ev_gather([1, 3, 5]);
 *
 * 座標を指定してイベントを集合させたい場合
 * 以下のようにXとYを追加設定します。
 *
 * this.ev_gather([eventID1, eventID2], x, y);
 *
 * 【プラグインコマンド】
 * (この方法はRPGツクールMZ専用です。)
 * ★イベントID
 * 集合させる対象となるイベントIDです。こちらは複数選択可能です。
 * 例:1-4, 5, 14, 59-63
 *
 * ★移動先座標X(or Y)
 * イベントの集合先の座標です。
 * X、Yともに-1に設定するとプレイヤーと同じ位置に集合します。
 *
 * ◆ライセンス
 * このプラグインはMITライセンスで公開されています。
 * http://opensource.org/licenses/mit-license.php
 */ 

スポンサードリンク

スポンサードリンク

Copyright© #ツクプラ , 2025 All Rights Reserved.