This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| zone [2025/03/31 12:04] – justin | zone [2025/04/03 13:57] (current) – justin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | =====Zones====== | + | ======Zones====== |
| ---- | ---- | ||
| Line 22: | Line 22: | ||
| ====Scripting==== | ====Scripting==== | ||
| - | From a scripting perspective, | + | From a scripting perspective, |
| - | * [[Add Zone]]: Adds a new zone to the current [[map]], with parameters for zone name, passability, | + | |
| - | * [[Disable Zone]]: Disables a zone in the current [[map]], e.g. disable_zone(" | + | |
| - | * [[Enable Zone]]: Enables a zone that was previously disabled via the [[Disable Zone]] function, e.g. enable_zone(" | + | |
| - | * [[Remove Zone]]: Removes a zone from the current [[map]], e.g. remove_zone(" | + | |
| - | * **[[Set Zone Script]]**: Modifies a zone's [[script]], with trigger options of CHARACTER_ENTER and CHARACTER_EXIT for passable zones and CHARACTER_COLLIDE for impassable zones. For example, set_zone_script(" | + | * **[[Set Zone Script]]**: Modifies a zone's [[script]], with trigger options of CHARACTER_ENTER and CHARACTER_EXIT for passable zones and CHARACTER_COLLIDE for impassable zones. For example, |
| + | |||
| + | **Bauxite Examples: | ||
| + | <code bauxite> | ||
| + | add_zone(" | ||
| + | set_zone_script(" | ||
| + | set_zone_script(" | ||
| + | </ | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||