设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
搜索附件  
同能RPG制作大师 › 附件中心 › 同能RM技术讨论区 › RPG Maker MZ 讨论区 › Lyra's MapNoteSwitches (auto change switches on map enter/exit)-1.jpg

Lyra's MapNoteSwitches (auto change switches on map enter/exit)-1.jpg

 

Lyra's MapNoteSwitches (auto change switches on map enter/exit):
This plugin lets you turn switches on, off, or toggle automatically when the player enters a map. No autorun event required!





How to Use
Add the .js file to your project's js/plugin folder, then open up the plugin manager in the editor and add the plugin.
There's an explanation on the left side.
The first setting is if you want to see debug messages (default off, for debugging use only).
The other setting is an array of aliases. They are entirely optional.
Once you've added the plugin, simply add one of these tags to a map's note box, and replace x with the number of the switch you want to change.

  • <switch on x>
  • <switch off x>
  • <switch toggle x>
  • <switch ontemp x>
  • <switch offtemp x>
  • <switch toggletemp x>
If you use the temp version of the tag, then the switch will get restored to how it was once the player leaves the map.

Instead of x you can also use any aliases you have defined in the plugin settings, for instance in my project I have <switch on isInterior> in the noteboxes of my indoors maps, and isInterior is defined in the plugin settings to be an alias for switch 14.

Terms of Use
You can view the license here. In short, it is free for commercial or non-commercial use. Credit is optional as long as you don't claim it as your own work.
Downloads
You can download just the plugin here. Press the 'Raw' button then Ctrl+S to save it.


本贴来自国际rpgmaker官方论坛作者:LyraVultur处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/lyras-mapnoteswitches-auto-change-switches-on-map-enter-exit.162978/
Lyra&#039;s MapNoteSwitches (auto change switches on map enter/exit)-1.jpg
简体中文
繁體中文
English(英语)
日本語(日语)
Deutsch(德语)
Русский язык(俄语)
بالعربية(阿拉伯语)
Türkçe(土耳其语)
Português(葡萄牙语)
ภาษาไทย(泰国语)
한어(朝鲜语/韩语)
Français(法语)
关闭

幸运抽奖

社区每日抽奖来袭,快来试试你是欧皇还是非酋~

立即查看

Loading...

QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

GMT+8, 2026-10-5 23:45 , Processed in 0.098607 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部