<?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%2FEntities</id>
	<title>Legacy:Functions/Map/Entities - 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%2FEntities"/>
	<link rel="alternate" type="text/html" href="http://wiki.spheredev.org/index.php?title=Legacy:Functions/Map/Entities&amp;action=history"/>
	<updated>2026-10-25T22:37:09Z</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/Entities&amp;diff=772&amp;oldid=prev</id>
		<title>Apollolux: /* Appearance */ fix link text</title>
		<link rel="alternate" type="text/html" href="http://wiki.spheredev.org/index.php?title=Legacy:Functions/Map/Entities&amp;diff=772&amp;oldid=prev"/>
		<updated>2013-06-08T23:47:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Appearance: &lt;/span&gt; fix link text&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:47, 8 June 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l54&quot;&gt;Line 54:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 54:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:SetPersonScaleAbsolute|SetPersonScaleAbsolute]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;width&amp;#039;&amp;#039;, &amp;#039;&amp;#039;height&amp;#039;&amp;#039;): Rescales the sprite of person &amp;#039;&amp;#039;name&amp;#039;&amp;#039; to &amp;#039;&amp;#039;width&amp;#039;&amp;#039; * &amp;#039;&amp;#039;height&amp;#039;&amp;#039; pixels.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:SetPersonScaleAbsolute|SetPersonScaleAbsolute]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;width&amp;#039;&amp;#039;, &amp;#039;&amp;#039;height&amp;#039;&amp;#039;): Rescales the sprite of person &amp;#039;&amp;#039;name&amp;#039;&amp;#039; to &amp;#039;&amp;#039;width&amp;#039;&amp;#039; * &amp;#039;&amp;#039;height&amp;#039;&amp;#039; pixels.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:GetPersonSpriteset]](&#039;&#039;name&#039;&#039;): Get the spriteset of person &#039;&#039;name&#039;&#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;GetPersonSpriteset|&lt;/ins&gt;GetPersonSpriteset]](&#039;&#039;name&#039;&#039;): Get the spriteset of person &#039;&#039;name&#039;&#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:SetPersonSpriteset]](&#039;&#039;name&#039;&#039;, &#039;&#039;spriteset&#039;&#039;): Set the spriteset of person &#039;&#039;name&#039;&#039; to &#039;&#039;spriteset&#039;&#039; (Sphere [[API:Spriteset|Spriteset]] object).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SetPersonSpriteset|&lt;/ins&gt;SetPersonSpriteset]](&#039;&#039;name&#039;&#039;, &#039;&#039;spriteset&#039;&#039;): Set the spriteset of person &#039;&#039;name&#039;&#039; to &#039;&#039;spriteset&#039;&#039; (Sphere [[API:Spriteset|Spriteset]] object).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:IsPersonVisible|IsPersonVisible]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Check if the person with &amp;#039;&amp;#039;name&amp;#039;&amp;#039; is visible or not.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:IsPersonVisible|IsPersonVisible]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Check if the person with &amp;#039;&amp;#039;name&amp;#039;&amp;#039; is visible or not.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Apollolux</name></author>
	</entry>
	<entry>
		<id>http://wiki.spheredev.org/index.php?title=Legacy:Functions/Map/Entities&amp;diff=612&amp;oldid=prev</id>
		<title>Apollolux: spriteset object link</title>
		<link rel="alternate" type="text/html" href="http://wiki.spheredev.org/index.php?title=Legacy:Functions/Map/Entities&amp;diff=612&amp;oldid=prev"/>
		<updated>2013-06-02T00:30:02Z</updated>

		<summary type="html">&lt;p&gt;spriteset object link&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:30, 2 June 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l55&quot;&gt;Line 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 55:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:GetPersonSpriteset]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Get the spriteset of person &amp;#039;&amp;#039;name&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:GetPersonSpriteset]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Get the spriteset of person &amp;#039;&amp;#039;name&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:SetPersonSpriteset]](&#039;&#039;name&#039;&#039;, &#039;&#039;spriteset&#039;&#039;): Set the spriteset of person &#039;&#039;name&#039;&#039; to &#039;&#039;spriteset&#039;&#039; (Sphere [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Object-&lt;/del&gt;Spriteset|Spriteset]] object).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:SetPersonSpriteset]](&#039;&#039;name&#039;&#039;, &#039;&#039;spriteset&#039;&#039;): Set the spriteset of person &#039;&#039;name&#039;&#039; to &#039;&#039;spriteset&#039;&#039; (Sphere [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;API:&lt;/ins&gt;Spriteset|Spriteset]] object).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:IsPersonVisible|IsPersonVisible]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Check if the person with &amp;#039;&amp;#039;name&amp;#039;&amp;#039; is visible or not.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:IsPersonVisible|IsPersonVisible]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Check if the person with &amp;#039;&amp;#039;name&amp;#039;&amp;#039; is visible or not.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Apollolux</name></author>
	</entry>
	<entry>
		<id>http://wiki.spheredev.org/index.php?title=Legacy:Functions/Map/Entities&amp;diff=611&amp;oldid=prev</id>
		<title>Apollolux: Reformat for new convention</title>
		<link rel="alternate" type="text/html" href="http://wiki.spheredev.org/index.php?title=Legacy:Functions/Map/Entities&amp;diff=611&amp;oldid=prev"/>
		<updated>2013-06-02T00:28:06Z</updated>

		<summary type="html">&lt;p&gt;Reformat for new convention&lt;/p&gt;
&lt;a href=&quot;http://wiki.spheredev.org/index.php?title=Legacy:Functions/Map/Entities&amp;amp;diff=611&amp;amp;oldid=603&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Apollolux</name></author>
	</entry>
	<entry>
		<id>http://wiki.spheredev.org/index.php?title=Legacy:Functions/Map/Entities&amp;diff=603&amp;oldid=prev</id>
		<title>Apollolux: created, needs reformatting</title>
		<link rel="alternate" type="text/html" href="http://wiki.spheredev.org/index.php?title=Legacy:Functions/Map/Entities&amp;diff=603&amp;oldid=prev"/>
		<updated>2013-06-01T23:48:47Z</updated>

		<summary type="html">&lt;p&gt;created, needs reformatting&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* [[GetPersonList]](): Get an array of all named persons on the current map.&lt;br /&gt;
&lt;br /&gt;
* [[CreatePerson]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;spriteset&amp;#039;&amp;#039;, &amp;#039;&amp;#039;destroy_with_map&amp;#039;&amp;#039;): Create a new person called &amp;#039;&amp;#039;name&amp;#039;&amp;#039; with &amp;#039;&amp;#039;spriteset&amp;#039;&amp;#039; (filename).&lt;br /&gt;
* [[DestroyPerson]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Destroy the person called &amp;#039;&amp;#039;name&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== Person position ====&lt;br /&gt;
&lt;br /&gt;
* [[GetPersonX]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Get the map X coordinate of &amp;#039;&amp;#039;name&amp;#039;&amp;#039;.&lt;br /&gt;
* [[GetPersonY]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Get the map Y coordinate of &amp;#039;&amp;#039;name&amp;#039;&amp;#039;.&lt;br /&gt;
* [[GetPersonLayer]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Get the map layer index of &amp;#039;&amp;#039;name&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
* [[SetPersonX]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;x&amp;#039;&amp;#039;): Set the map X of &amp;#039;&amp;#039;name&amp;#039;&amp;#039; to &amp;#039;&amp;#039;x&amp;#039;&amp;#039;.&lt;br /&gt;
* [[SetPersonY]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;): Set the map Y of &amp;#039;&amp;#039;name&amp;#039;&amp;#039; to &amp;#039;&amp;#039;y&amp;#039;&amp;#039;.&lt;br /&gt;
* [[SetPersonLayer]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;layer&amp;#039;&amp;#039;): Set the map layer of &amp;#039;&amp;#039;name&amp;#039;&amp;#039; to &amp;#039;&amp;#039;layer&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
* [[GetPersonXFloat]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Get the map X of &amp;#039;&amp;#039;name&amp;#039;&amp;#039; to floating point accuracy.&lt;br /&gt;
* [[GetPersonYFloat]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Get the map Y of &amp;#039;&amp;#039;name&amp;#039;&amp;#039; to floating point accuracy.&lt;br /&gt;
* [[SetPersonXYFloat]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;): Set the position of &amp;#039;&amp;#039;name&amp;#039;&amp;#039; with floating point accuracy.&lt;br /&gt;
&lt;br /&gt;
==== Directions and animations ====&lt;br /&gt;
&lt;br /&gt;
* [[GetPersonDirection]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Get the animation direction of person &amp;#039;&amp;#039;name&amp;#039;&amp;#039;.&lt;br /&gt;
* [[SetPersonDirection]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;direction&amp;#039;&amp;#039;): Set animation direction of person &amp;#039;&amp;#039;name&amp;#039;&amp;#039; to &amp;#039;&amp;#039;direction&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
* [[GetPersonFrame]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): gets the frame and direction that are currently being displayed.&lt;br /&gt;
* [[SetPersonFrame]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;frame&amp;#039;&amp;#039;): sets which frame from which direction to display.&lt;br /&gt;
&lt;br /&gt;
* [[SetPersonFrameRevert]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;delay&amp;#039;&amp;#039;): sets the delay between when the person last moved and returning to first frame.&lt;br /&gt;
* [[GetPersonFrameRevert]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): gets the delay between when the person last moved and returning to first frame.&lt;br /&gt;
&lt;br /&gt;
==== Movement speed ====&lt;br /&gt;
&lt;br /&gt;
* [[SetPersonSpeed]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;speed&amp;#039;&amp;#039;): sets the person&amp;#039;s speed.&lt;br /&gt;
* [[SetPersonSpeedXY]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;speed_x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;speed_y&amp;#039;&amp;#039;): sets the person&amp;#039;s x and y speed individually.&lt;br /&gt;
&lt;br /&gt;
* [[GetPersonSpeedX]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): gets a person&amp;#039;s x speed.&lt;br /&gt;
* [[GetPersonSpeedY]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): gets a person&amp;#039;s y speed.&lt;br /&gt;
&lt;br /&gt;
==== Appearance ====&lt;br /&gt;
&lt;br /&gt;
  [[GetPersonOffsetX]](name)&lt;br /&gt;
      - gets the horizontal offset used for blitting frames&lt;br /&gt;
&lt;br /&gt;
  [[SetPersonOffsetX]](name, x)&lt;br /&gt;
      - sets the horizontal offset to use for blitting frames&lt;br /&gt;
        e.g. setting it to 10 would result in the person frame blitted always 10 pixels&lt;br /&gt;
        to the right, while the person&amp;#039;s x-position would remain unchanged.&lt;br /&gt;
&lt;br /&gt;
  [[GetPersonOffsetY]](name)&lt;br /&gt;
      - gets the vertical offset used for blitting frames&lt;br /&gt;
&lt;br /&gt;
  [[SetPersonOffsetY]](name, y)&lt;br /&gt;
      - sets the vertical offset to use for blitting frames&lt;br /&gt;
        e.g. setting it to 10 would result in the person frame blitted always 10 pixels &lt;br /&gt;
        to the bottom, while the person&amp;#039;s y-position would remain unchanged.&lt;br /&gt;
&lt;br /&gt;
* [[GetPersonAngle]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Get the rotation angle of the person &amp;#039;&amp;#039;name&amp;#039;&amp;#039;.&lt;br /&gt;
* [[SetPersonAngle]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;angle&amp;#039;&amp;#039;): Set the rotation angle of person &amp;#039;&amp;#039;name&amp;#039;&amp;#039; to &amp;#039;&amp;#039;angle&amp;#039;&amp;#039; radians.&lt;br /&gt;
&lt;br /&gt;
* [[GetPersonMask]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Get the masking [[Object-Color|color]] of the person &amp;#039;&amp;#039;name&amp;#039;&amp;#039;.&lt;br /&gt;
* [[SetPersonMask]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;color&amp;#039;&amp;#039;): Set the color-channel multiplying mask &amp;#039;&amp;#039;[[Object-Color|color]]&amp;#039;&amp;#039; of the person &amp;#039;&amp;#039;name&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
* [[SetPersonScaleFactor]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;scale_w&amp;#039;&amp;#039;, &amp;#039;&amp;#039;scale_h&amp;#039;&amp;#039;): Rescales the sprite of person &amp;#039;&amp;#039;name&amp;#039;&amp;#039; by relative factors &amp;#039;&amp;#039;scale_w&amp;#039;&amp;#039; and &amp;#039;&amp;#039;scale_h&amp;#039;&amp;#039;.&lt;br /&gt;
* [[SetPersonScaleAbsolute]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;width&amp;#039;&amp;#039;, &amp;#039;&amp;#039;height&amp;#039;&amp;#039;): Rescales the sprite of person &amp;#039;&amp;#039;name&amp;#039;&amp;#039; to &amp;#039;&amp;#039;width&amp;#039;&amp;#039; * &amp;#039;&amp;#039;height&amp;#039;&amp;#039; pixels.&lt;br /&gt;
&lt;br /&gt;
* [[GetPersonSpriteset]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Get the spriteset of person &amp;#039;&amp;#039;name&amp;#039;&amp;#039;.&lt;br /&gt;
* [[SetPersonSpriteset]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;spriteset&amp;#039;&amp;#039;): Set the spriteset of person &amp;#039;&amp;#039;name&amp;#039;&amp;#039; to &amp;#039;&amp;#039;spriteset&amp;#039;&amp;#039; (Sphere [[Object-Spriteset|Spriteset]] object).&lt;br /&gt;
&lt;br /&gt;
* [[IsPersonVisible]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Check if the person with &amp;#039;&amp;#039;name&amp;#039;&amp;#039; is visible or not. &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;: visible, &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;: not visible.&lt;br /&gt;
* [[SetPersonVisible]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;visible&amp;#039;&amp;#039;): Make person &amp;#039;&amp;#039;name&amp;#039;&amp;#039; visible or invisible. &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;: visible, &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;: not visible.&lt;br /&gt;
&lt;br /&gt;
==== Obstruction ====&lt;br /&gt;
&lt;br /&gt;
* [[GetPersonBase]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Get a person&amp;#039;s spriteset obstruction base.&lt;br /&gt;
&lt;br /&gt;
* [[IsPersonObstructed]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;): Check if person &amp;quot;&amp;#039;&amp;#039;name&amp;#039;&amp;#039;&amp;quot; would be obstructed at (&amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
* [[IgnoreTileObstructions]](&amp;#039;&amp;#039;person&amp;#039;&amp;#039;, &amp;#039;&amp;#039;ignore&amp;#039;&amp;#039;): Sets whether person &amp;quot;&amp;#039;&amp;#039;person&amp;#039;&amp;#039;&amp;quot; ignores tile obstructions.&lt;br /&gt;
&lt;br /&gt;
* [[IsIgnoringTileObstructions]](&amp;#039;&amp;#039;person&amp;#039;&amp;#039;): Checks whether &amp;quot;&amp;#039;&amp;#039;person&amp;#039;&amp;#039;&amp;quot; is ignoring tile obstructions.&lt;br /&gt;
&lt;br /&gt;
  [[GetObstructingTile]](name, x, y)&lt;br /&gt;
    - returns -1 if name isn&amp;#039;t obstructed by a tile at x, y,&lt;br /&gt;
    - returns the tile index of the tile if name is obstructed at x, y&lt;br /&gt;
&lt;br /&gt;
  [[GetObstructingPerson]](name, x, y)&lt;br /&gt;
    - returns &amp;quot;&amp;quot; if name isn&amp;#039;t obstructed by person at x, y,&lt;br /&gt;
    - returns the name of the person if name is obstructed at x, y&lt;br /&gt;
&lt;br /&gt;
  [[IgnorePersonObstructions]](person, ignore)&lt;br /&gt;
    - Sets whether &amp;#039;person&amp;#039; should ignore other spriteset bases&lt;br /&gt;
  &lt;br /&gt;
  [[IsIgnoringPersonObstructions]](person)&lt;br /&gt;
    - Returns true if &amp;#039;person&amp;#039; is ignoring person obstructions, else false&lt;br /&gt;
&lt;br /&gt;
  [[GetPersonIgnoreList]](person)&lt;br /&gt;
    - Returns a list of people that &amp;#039;name&amp;#039; is ignoring&lt;br /&gt;
  &lt;br /&gt;
  [[SetPersonIgnoreList]](person, ignore_list)&lt;br /&gt;
    - Tells &amp;#039;person&amp;#039; to ignore everyone in ignore_list&lt;br /&gt;
    e.g. SetPersonIgnoreList(&amp;quot;White-Bomberman&amp;quot;, [&amp;quot;bomb&amp;quot;, &amp;quot;powerup&amp;quot;]);&lt;br /&gt;
    Tells White-Bomberman to not be obstructed by bombs or powerups&lt;br /&gt;
&lt;br /&gt;
==== Talk interaction ====&lt;br /&gt;
&lt;br /&gt;
  [[SetTalkActivationKey]](key)&lt;br /&gt;
  [[GetTalkActivationKey]]()&lt;br /&gt;
    - set key used to activate talk scripts&lt;br /&gt;
&lt;br /&gt;
  [[SetTalkDistance]](pixels)&lt;br /&gt;
  [[GetTalkDistance]]()&lt;br /&gt;
    - set distance to check for talk script activation&lt;br /&gt;
&lt;br /&gt;
==== Following other persons ====&lt;br /&gt;
&lt;br /&gt;
* [[FollowPerson]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;leader&amp;#039;&amp;#039;, &amp;#039;&amp;#039;pixels&amp;#039;&amp;#039;): Makes a sprite follow behind another sprite.&lt;br /&gt;
&lt;br /&gt;
==== Person data ====&lt;br /&gt;
&lt;br /&gt;
  [[GetPersonData]](name)&lt;br /&gt;
    - gets a data object assiocated with the person &amp;#039;name&amp;#039;&lt;br /&gt;
    There are certain default properties/values filled in by the engine, they are:&lt;br /&gt;
    num_frames - the number of frames for the person&amp;#039;s current direction&lt;br /&gt;
    num_directions - the number of directions for the person&lt;br /&gt;
    width - the width of the spriteset&amp;#039;s current frame&lt;br /&gt;
    height - the height of the spriteset&amp;#039;s current frame&lt;br /&gt;
    leader - the person that this person is following, or &amp;quot;&amp;quot; if no-one...&lt;br /&gt;
    Any other properties are free for you to fill with values,&lt;br /&gt;
    e.g.&lt;br /&gt;
      var data = GetPersonData(&amp;quot;Jimmy&amp;quot;);&lt;br /&gt;
      var num_frames = data[&amp;quot;num_frames&amp;quot;];&lt;br /&gt;
  &lt;br /&gt;
  [[SetPersonData]](name, data)&lt;br /&gt;
    - sets the &amp;#039;data&amp;#039; object assiocated with the person &amp;#039;name&amp;#039;&lt;br /&gt;
    e.g.&lt;br /&gt;
    var data = GetPersonData(&amp;quot;Jimmy&amp;quot;);&lt;br /&gt;
    data[&amp;quot;talked_to_jimmy&amp;quot;] = true;&lt;br /&gt;
    SetPersonData(&amp;quot;Jimmy&amp;quot;, data);&lt;br /&gt;
&lt;br /&gt;
  [[SetPersonValue]](name, key, value)&lt;br /&gt;
    - SetPersonValue(&amp;quot;Jimmy&amp;quot;, &amp;quot;talked_to_jimmy&amp;quot;, true); // same as code above&lt;br /&gt;
  &lt;br /&gt;
  [[GetPersonValue]](name, key)&lt;br /&gt;
    - GetPersonValue(&amp;quot;Jimmy&amp;quot;, &amp;quot;num_frames&amp;quot;); // same as previous code above&lt;br /&gt;
&lt;br /&gt;
==== Person control ====&lt;br /&gt;
&lt;br /&gt;
* [[SetPersonScript]](name, which, script)&lt;br /&gt;
* Person scripts:&lt;br /&gt;
** SCRIPT_ON_CREATE&lt;br /&gt;
** SCRIPT_ON_DESTROY&lt;br /&gt;
** SCRIPT_ON_ACTIVATE_TOUCH&lt;br /&gt;
** SCRIPT_ON_ACTIVATE_TALK&lt;br /&gt;
** SCRIPT_COMMAND_GENERATOR&lt;br /&gt;
* [[CallPersonScript]](name, which)&lt;br /&gt;
&lt;br /&gt;
* [[GetCurrentPerson]]()&lt;br /&gt;
&lt;br /&gt;
* [[QueuePersonCommand]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;command&amp;#039;&amp;#039;, &amp;#039;&amp;#039;immediate&amp;#039;&amp;#039;): add a command to the person&amp;#039;s command queue.&lt;br /&gt;
* Person commands:&lt;br /&gt;
** &amp;lt;var&amp;gt;COMMAND_WAIT&amp;lt;/var&amp;gt;&lt;br /&gt;
** &amp;lt;var&amp;gt;COMMAND_ANIMATE&amp;lt;/var&amp;gt;&lt;br /&gt;
** &amp;lt;var&amp;gt;COMMAND_FACE_NORTH&amp;lt;/var&amp;gt;&lt;br /&gt;
** &amp;lt;var&amp;gt;COMMAND_FACE_NORTHEAST&amp;lt;/var&amp;gt;&lt;br /&gt;
** &amp;lt;var&amp;gt;COMMAND_FACE_EAST&amp;lt;/var&amp;gt;&lt;br /&gt;
** &amp;lt;var&amp;gt;COMMAND_FACE_SOUTHEAST&amp;lt;/var&amp;gt;&lt;br /&gt;
** &amp;lt;var&amp;gt;COMMAND_FACE_SOUTH&amp;lt;/var&amp;gt;&lt;br /&gt;
** &amp;lt;var&amp;gt;COMMAND_FACE_SOUTHWEST&amp;lt;/var&amp;gt;&lt;br /&gt;
** &amp;lt;var&amp;gt;COMMAND_FACE_WEST&amp;lt;/var&amp;gt;&lt;br /&gt;
** &amp;lt;var&amp;gt;COMMAND_FACE_NORTHWEST&amp;lt;/var&amp;gt;&lt;br /&gt;
** &amp;lt;var&amp;gt;COMMAND_MOVE_NORTH&amp;lt;/var&amp;gt;&lt;br /&gt;
** &amp;lt;var&amp;gt;COMMAND_MOVE_EAST&amp;lt;/var&amp;gt;&lt;br /&gt;
** &amp;lt;var&amp;gt;COMMAND_MOVE_SOUTH&amp;lt;/var&amp;gt;&lt;br /&gt;
** &amp;lt;var&amp;gt;COMMAND_MOVE_WEST&amp;lt;/var&amp;gt;&lt;br /&gt;
* [[QueuePersonScript]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;, &amp;#039;&amp;#039;script&amp;#039;&amp;#039;, &amp;#039;&amp;#039;immediate&amp;#039;&amp;#039;): Queue a script command on the command queue of &amp;#039;&amp;#039;name&amp;#039;&amp;#039;.&lt;br /&gt;
* [[IsCommandQueueEmpty]](&amp;#039;&amp;#039;name&amp;#039;&amp;#039;): Check if the command queue of the person is empty.&lt;br /&gt;
* [[ClearPersonCommands]](name): Clears the command queue of the named person.&lt;/div&gt;</summary>
		<author><name>Apollolux</name></author>
	</entry>
</feed>