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

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

MZ plugins

NUUN Event Player Direction - NUUN_EventPlayerDirection.js

Plugin desc : Get status for player event at trigger activation

License : MIT License

Author : NUUN

Website : https://github.com/nuun888/MZ/blob/master/NUUN_EventPlayerDirection.js

Download Page : https://raw.githubusercontent.com/nuun888/MZ/master/NUUN_EventPlayerDirection.js

File name : NUUN_EventPlayerDirection.js

Help of plugin :

* @target MZ
 * @plugindesc Get status for player event at trigger activation
 * @author NUUN
 * @version 1.0.3
 * 
 * @help
 * Gets the orientation status of the player and the event when the trigger is activated.
 * 
 * Terms of Use
 * This plugin is distributed under the MIT license.
 * 
 * Log
 * 2/18/2023 Ver.1.0.3
 * Modified to work without setting switch ID in the function referenced from "NUUN_PreemptiveSurpriseEx".
 * 12/1/2022 Ver.1.0.2
 * Changed the display in languages other than Japanese to English.
 * 7/31/2022 Ver.1.0.1
 * Added processing to get backing variables from external plugins.
 * 7/24/2022 Ver.1.0.0
 * First edition.
 * 
 * 
 * @param PlayerBackDirectionSwitch
 * @text Player behind switch ID
 * @desc The switch ID to turn ON when the event is triggered from behind as seen from the player.
 * @type switch
 * @default 0
 * 
 * @param EventBackDirectionSwitch
 * @text Event behind switch ID
 * @desc The switch ID to turn ON when the trigger is activated from behind by the player as viewed from the event.
 * @type switch
 * @default 0
 * 
 * @param PlayerFrontDirectionSwitch
 * @text Player front switch ID
 * @desc The switch ID to turn ON when the event is triggered from the front direction as seen from the player.
 * @type switch
 * @default 0
 * 
 * @param EventFrontDirectionSwitch
 * @text Event front switch ID
 * @desc The switch ID to turn ON when the trigger is activated from the front of the player as viewed from the event.
 * @type switch
 * @default 0
 * 
 * @param PlayerLeftDirectionSwitch
 * @text Player Left Switch ID
 * @desc The switch ID to turn ON when the event is triggered from the left side as viewed from the player.
 * @type switch
 * @default 0
 * 
 * @param EventLeftDirectionSwitch
 * @text Event left switch ID
 * @desc The switch ID to turn ON when the player activates the trigger from the left direction as seen from the event.
 * @type switch
 * @default 0
 * 
 * @param PlayerRightDirectionSwitch
 * @text Player Right Switch ID
 * @desc The switch ID to turn ON when the event is triggered from the right side as viewed from the player.
 * @type switch
 * @default 0
 * 
 * @param EventRightDirectionSwitch
 * @text Event right switch ID
 * @desc The switch ID to turn ON when the player activates the trigger from the right side as viewed from the event.
 * @type switch
 * @default 0
 * 
 *

スポンサードリンク

-MZ plugins

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