PluginName: SDJB_DynamicRegions
Author: ShadowDragon
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
=== TERMS OF USE === Free for Non-Commercial and Commercial use when credit is given. credit one of the following: ShadowDragon