<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.spheredev.org/index.php?action=history&amp;feed=atom&amp;title=Legacy%3AFunctions%2FMap%2FZones</id>
	<title>Legacy:Functions/Map/Zones - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.spheredev.org/index.php?action=history&amp;feed=atom&amp;title=Legacy%3AFunctions%2FMap%2FZones"/>
	<link rel="alternate" type="text/html" href="http://wiki.spheredev.org/index.php?title=Legacy:Functions/Map/Zones&amp;action=history"/>
	<updated>2026-11-08T01:02:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>http://wiki.spheredev.org/index.php?title=Legacy:Functions/Map/Zones&amp;diff=597&amp;oldid=prev</id>
		<title>Apollolux: created</title>
		<link rel="alternate" type="text/html" href="http://wiki.spheredev.org/index.php?title=Legacy:Functions/Map/Zones&amp;diff=597&amp;oldid=prev"/>
		<updated>2013-06-01T23:37:32Z</updated>

		<summary type="html">&lt;p&gt;created&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==== Zones ====&lt;br /&gt;
&lt;br /&gt;
* [[API:AreZonesAt|AreZonesAt]](&amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;, &amp;#039;&amp;#039;layer&amp;#039;&amp;#039;): Check if there are any zones at (&amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;) on &amp;#039;&amp;#039;layer&amp;#039;&amp;#039;.&lt;br /&gt;
* [[API:ExecuteZones|ExecuteZones]](&amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;, &amp;#039;&amp;#039;layer&amp;#039;&amp;#039;): Run all scripts for zones that (&amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;) on &amp;#039;&amp;#039;layer&amp;#039;&amp;#039; is in.&lt;br /&gt;
* [[API:GetNumZones|GetNumZones]](): Get the number of zones on the current map.&lt;br /&gt;
&lt;br /&gt;
===== For each zone =====&lt;br /&gt;
&lt;br /&gt;
* [[API:GetCurrentZone|GetCurrentZone]](): Get the current zone index in a zone script.&lt;br /&gt;
* [[API:ExecuteZoneScript|ExecuteZoneScript]](&amp;#039;&amp;#039;zone&amp;#039;&amp;#039;): Execute the script of &amp;#039;&amp;#039;zone&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===== Zone position =====&lt;br /&gt;
&lt;br /&gt;
* [[API:GetZoneX|GetZoneX]](&amp;#039;&amp;#039;zone&amp;#039;&amp;#039;): Get the X coordinate of &amp;#039;&amp;#039;zone&amp;#039;&amp;#039; on the map.&lt;br /&gt;
* [[API:GetZoneY|GetZoneY]](&amp;#039;&amp;#039;zone&amp;#039;&amp;#039;): Get the Y coordinate of &amp;#039;&amp;#039;zone&amp;#039;&amp;#039; on the map.&lt;br /&gt;
* [[API:GetZoneWidth|GetZoneWidth]](&amp;#039;&amp;#039;zone&amp;#039;&amp;#039;): Get the pixel width of &amp;#039;&amp;#039;zone&amp;#039;&amp;#039;.&lt;br /&gt;
* [[API:GetZoneHeight|GetZoneHeight]](&amp;#039;&amp;#039;zone&amp;#039;&amp;#039;): Get the pixel height of &amp;#039;&amp;#039;zone&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
* [[API:GetZoneLayer|GetZoneLayer]](&amp;#039;&amp;#039;zone&amp;#039;&amp;#039;): Get the map layer index of &amp;#039;&amp;#039;zone&amp;#039;&amp;#039;.&lt;br /&gt;
* [[API:SetZoneLayer|SetZoneLayer]](&amp;#039;&amp;#039;zone&amp;#039;&amp;#039;, &amp;#039;&amp;#039;layer&amp;#039;&amp;#039;): Sets the map layer of &amp;#039;&amp;#039;zone&amp;#039;&amp;#039; to &amp;#039;&amp;#039;layer&amp;#039;&amp;#039;.&lt;/div&gt;</summary>
		<author><name>Apollolux</name></author>
	</entry>
</feed>