Dark Plasma Follow NPC - DarkPlasma_FollowNPC.js
シェア用テキスト:
▼Dark Plasma Follow NPC(DarkPlasma様作) - DarkPlasma_FollowNPC.js
https://plugin.fungamemake.com/archives/27065
イベント中、特定のNPCにプレイヤーがついていく
ふりがな:のんぷれいやーきゃらくたーをふぉろー
機能概要: イベント中、特定のNPCにプレイヤーがついていく
利用規約(ライセンス): MITライセンス
作者:DarkPlasma
作者サイト:https://elleonard.github.io/DarkPlasma-MZ-Plugins/index.html
解説ページ:https://github.com/elleonard/RPGtkoolMV-Plugins
ダウンロードページ:https://raw.githubusercontent.com/elleonard/RPGtkoolMV-…
ファイル名:DarkPlasma_FollowNPC.js
プラグインのヘルプ:
/*: * @plugindesc イベント中、特定のNPCにプレイヤーがついていくプラグイン * @author DarkPlasma * @license MIT * * @help * イベント中に特定のNPCにプレイヤーや別のNPCがついていきます。 * * イベントスクリプトで以下のように入力することで効果を発揮します。 * * // プレイヤーを特定イベントのフォロワーにする * this.addFollowerToEvent(イベントID, $gamePlayer); * * // 特定イベントを別イベントのフォロワーにする * this.addFollowerToEvent(イベントID, this.character(イベントID)); * * // プレイヤーを特定イベントのフォロワーから外す * this.removeFollowerFromEvent(イベントID, $gamePlayer); * * // 特定イベントを別イベントのフォロワーから外す * this.removeFollowerFromEvent(イベントID, this.character(イベントID)); * * プレイヤーがイベントのフォロワーになっている状態では * 移動操作を受け付けないことに注意してください。 */