<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.virtualparadise.org/index.php?action=history&amp;feed=atom&amp;title=VP_EVENT_AVATAR_DELETE</id>
	<title>VP EVENT AVATAR DELETE - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.virtualparadise.org/index.php?action=history&amp;feed=atom&amp;title=VP_EVENT_AVATAR_DELETE"/>
	<link rel="alternate" type="text/html" href="https://wiki.virtualparadise.org/index.php?title=VP_EVENT_AVATAR_DELETE&amp;action=history"/>
	<updated>2026-06-06T05:05:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.virtualparadise.org/index.php?title=VP_EVENT_AVATAR_DELETE&amp;diff=3087&amp;oldid=prev</id>
		<title>Roy Curtis: Created page with &quot;{{sdk event page|avatar_delete|Received when a client leaves the currently connected world |attributes=   {{sdk attribute row|int   |avatar_session|Session ID of leaving clien...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.virtualparadise.org/index.php?title=VP_EVENT_AVATAR_DELETE&amp;diff=3087&amp;oldid=prev"/>
		<updated>2013-08-25T09:28:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{sdk event page|avatar_delete|Received when a client leaves the currently connected world |attributes=   {{sdk attribute row|int   |avatar_session|Session ID of leaving clien...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{sdk event page|avatar_delete|Received when a client leaves the currently connected world&lt;br /&gt;
|attributes=&lt;br /&gt;
  {{sdk attribute row|int   |avatar_session|Session ID of leaving client}}&lt;br /&gt;
  {{sdk attribute row|string|avatar_name   |Name of leaving client}}&lt;br /&gt;
|behavior=&lt;br /&gt;
Contrary to {{sdk event|avatar_add}}&amp;#039;s behavior when entering a world, this event is not fired for every client in the world if:&lt;br /&gt;
&lt;br /&gt;
* The world is changed with {{sdk function|enter}} or left with {{sdk function|leave}}&lt;br /&gt;
* There is an unexpected disconnection from the world or universe server&lt;br /&gt;
* The instance is destroyed with {{sdk function|destroy}}&lt;br /&gt;
|caveats=&lt;br /&gt;
Due to the above behavior, bots that are keeping track of clients through a list along with {{sdk event|avatar_add}} and {{sdk event|avatar_delete}} should clear it if any of the above occur. Otherwise, the bot&amp;#039;s list may become out-of-sync with the server&amp;#039;s list. For example:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Bot&amp;#039;&amp;#039;&amp;#039; enters the world&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Client A&amp;#039;&amp;#039;&amp;#039; enters the world; &amp;#039;&amp;#039;&amp;#039;Bot&amp;#039;&amp;#039;&amp;#039; adds it to internal list&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Client B&amp;#039;&amp;#039;&amp;#039; enters the world; &amp;#039;&amp;#039;&amp;#039;Bot&amp;#039;&amp;#039;&amp;#039; adds it to internal list&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Bot&amp;#039;&amp;#039;&amp;#039; unexpectedly disconnects from the world&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Client A&amp;#039;&amp;#039;&amp;#039; leaves the world&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Bot&amp;#039;&amp;#039;&amp;#039; reconnects to the world&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Bot&amp;#039;&amp;#039;&amp;#039; sees &amp;#039;&amp;#039;&amp;#039;Client B&amp;#039;&amp;#039;&amp;#039; &amp;quot;enter&amp;quot; again and adds it to internal list&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Bot&amp;#039;&amp;#039;&amp;#039;&amp;#039;s list now consists of: &amp;#039;&amp;#039;&amp;#039;Client A&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Client B&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Client B&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
|examples=&lt;br /&gt;
|seealso=&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Roy Curtis</name></author>
	</entry>
</feed>