<?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-05-10T13:40:35Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.0</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]](''x'', ''y'', ''layer''): Check if there are any zones at (''x'', ''y'') on ''layer''.&lt;br /&gt;
* [[API:ExecuteZones|ExecuteZones]](''x'', ''y'', ''layer''): Run all scripts for zones that (''x'', ''y'') on ''layer'' 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]](''zone''): Execute the script of ''zone''.&lt;br /&gt;
&lt;br /&gt;
===== Zone position =====&lt;br /&gt;
&lt;br /&gt;
* [[API:GetZoneX|GetZoneX]](''zone''): Get the X coordinate of ''zone'' on the map.&lt;br /&gt;
* [[API:GetZoneY|GetZoneY]](''zone''): Get the Y coordinate of ''zone'' on the map.&lt;br /&gt;
* [[API:GetZoneWidth|GetZoneWidth]](''zone''): Get the pixel width of ''zone''.&lt;br /&gt;
* [[API:GetZoneHeight|GetZoneHeight]](''zone''): Get the pixel height of ''zone''.&lt;br /&gt;
&lt;br /&gt;
* [[API:GetZoneLayer|GetZoneLayer]](''zone''): Get the map layer index of ''zone''.&lt;br /&gt;
* [[API:SetZoneLayer|SetZoneLayer]](''zone'', ''layer''): Sets the map layer of ''zone'' to ''layer''.&lt;/div&gt;</summary>
		<author><name>Apollolux</name></author>	</entry>

	</feed>