じ☆ve冰风 发表于 2026-7-24 16:30:37

AWY_ItemTrigger - Trigger events with items and skills.

It's a little unfriendly to the player, but it allows you to create a simple system.
https://twitter.com/i/web/status/2007429601564496069
Download
AWY_ItemTrigger Ver.1.0.2

How to Use
Using items or skills in the menu will trigger adjacent events.


Place a comment on the first line of the event contents
and enter it in the following format to be reflected.
<itemTrigger:1> //Trigger with Item 1
<itemTrigger:1,3> //Trigger with Item 1 or 3
<itemTrigger:0,3> //Trigger with Action Button or Item 3
<skillTrigger:1> //Trigger with Skill 1
<skillTrigger:0,1,3> //Trigger with Action Button or Item 1 or 3


<triggerAction> //On the menu screen, make it trigger-only.
*Its effects disappear in the menu.
Consumed only when an event is triggered.
If the trigger fails, a buzzer will sound.
Its effects in battle remain unchanged.

<triggerAction:1> //If not triggered, start Common Event 1
<triggerAction:1,true> //As above, but always consumes


It can be used to branch after an event is triggered.
$gameTemp.triggerItemId() //Get the item ID used in the trigger
$gameTemp.triggerSkillId() //Get the skill ID used in the trigger

Specifications
Autorun or parallel events cannot be triggered.


本贴来自国际rpgmaker官方论坛作者:Awayamatana处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/awy_itemtrigger-trigger-events-with-items-and-skills.182156/
页: [1]
查看完整版本: AWY_ItemTrigger - Trigger events with items and skills.