ExecuteZoneScript
From Spheriki
Run the script of a zone.
Contents |
[edit]
Usage
ExecuteZoneScript(zone);
- zone number, non-negative. The index of the map zone to run the script of.
[edit]
Examples
Here's how we can call the script of every single zone on the currently loaded map:
for (var i = 0, z = GetNumZones(); i < z; ++i) ExecuteZoneScript(i);
[edit]
Notes
- The behaviour of this function outside of the map engine is undefined.
[edit]
See also
- GetNumZones()
- MapEngine()
- Every other zone function on the functions page.

