User Tools

Site Tools


zone

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
zone [2025/04/03 09:19] justinzone [2025/04/03 09:20] (current) justin
Line 29: Line 29:
   * **[[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("toxic_zone", "apply_poison_status", CHARACTER_ENTER)** will cause the "apply_poison_status" script to be triggered whenever a [[character]] enters that 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("toxic_zone", "apply_poison_status", CHARACTER_ENTER)** will cause the "apply_poison_status" script to be triggered whenever a [[character]] enters that zone.
  
 +**Bauxite Examples:**
 <code bauxite> <code bauxite>
 add_zone("toxic_zone", true, coord[0, 0, 0], 64, 64, 16); add_zone("toxic_zone", true, coord[0, 0, 0], 64, 64, 16);
zone.txt · Last modified: 2025/04/03 09:20 by justin