Welcome to PGMV! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
State Add Remove Common Trait - StateAddRemoveCommonTrait.js
Plugin desc : ver1.03/Adds the ability to reserve common events when a state is granted or removed.
License : MIT License
Author : Yana
Website : https://w.atwiki.jp/pokotan/pages/3.html
Desc page : https://github.com/munokura/Yana-MV-plugins
Download Page : https://raw.githubusercontent.com/munokura/Yana-MV-plugins/refs/heads/master/State/StateAddRemoveCommonTrait.js
File name : StateAddRemoveCommonTrait.js
Help of plugin :
@plugindesc ver1.03/Adds the ability to reserve common events when a state is granted or removed. @author Yana @url https://github.com/munokura/Yana-MV-plugins @license MIT License @help English Help Translator: munokura This is an unofficial English translation of the plugin help, created to support global RPG Maker users. Feedback is welcome to improve translation quality (see: https://github.com/munokura/Yana-MV-plugins ). Original plugin by Yana. ----- About the Plugin -------------------------------------------------------------------- This plugin allows you to create a Traits for objects with special Traits, using notes, to reserve common events when a state is assigned or removed. ------------------------------------------------------ How to Use ------------------------------------------------------ - Reservation when a state is assigned By writing <AddState△Common:□> in the note for an object with special Traits, the common event #□ will be reserved when the state #△ is assigned. - Reservation when a state is removed By writing <RemoveState△Common:□> in the note for an object with special Traits, the common event #□ will be reserved when the state #△ is removed. <AutoRemoveState△Common:□> You can reserve the common event #□ only when the state #△ is naturally removed. ------------------------------------------------------ Terms of Use ------------------------------------------------------ This plugin is released under the MIT License. http://opensource.org/licenses/mit-license.php ------------------------------------------------------ Update History: ver. 1.03: Changed the process so that simultaneously scheduled common events are executed. ver. 1.02: Added a process to store the activator's index in a variable. ver. 1.01: Fixed a bug where no judgment was made upon death. ver. 1.00: Released @param SubjectIndex @desc The ID of the variable that stores the index of the invoker. If the stored index is an enemy, the value will be increased by +1000. @default 13