じ☆ve冰风 发表于 2026-7-30 09:58:49

SDJB_DynamicRegions

PluginName: SDJB_DynamicRegions
Author: ShadowDragon

Spoiler: How it works                Code:       
How it works
͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
Dynamic Regions which can block passages for players and find a switch
to open it that you set in the database.

When the switch is OFF, the region is passable,
When the switch is ON, the region is blocked.
When a required tag and state is given, you can pss through blocked tiles.

Parameters:
͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
RegionId      => set the region id from 1-255
SwitchId      => set the switch required to turn it ON or OFF
Require Tag   => use a tag to override passthrough?
Required Tag=> set tag to use (ex: "floating")

If the tag is required, set inside the state the tag <floating>

Once state is given with the tag, you can passthrough the region
which normally block the player when the switch is on.

No state given or not the tag required still block the player,
this can give you the ability to cross the water on said region
with the state.

State given works only for the party leader, not the party member.


=== TERMS OF USE ===
Free for Non-Commercial and Commercial use when credit is given.
credit one of the following:
ShadowDragon
ShadowDragonJB

Version + UPDATE'S
12-11-2024 Version 1.0.0 first release
16-07-2025 Version 2.0.0 rewrote and added features

=== WARNING ===
YOU ARE NOT ALLOWED TO REDISTRIBUTE OR SELL IT OR TAKE CODE FOR YOUR OWN.
DO NOT REMOVE THE HEADER.

(file is below as it require my base plugin (SDJB_Base or SDJB_BaseMZ (minified version))


Download from itch.io


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