<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dev.playonset.com/index.php?action=history&amp;feed=atom&amp;title=OnObjectCreated</id>
	<title>OnObjectCreated - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dev.playonset.com/index.php?action=history&amp;feed=atom&amp;title=OnObjectCreated"/>
	<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=OnObjectCreated&amp;action=history"/>
	<updated>2026-05-25T06:45:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://dev.playonset.com/index.php?title=OnObjectCreated&amp;diff=4437&amp;oldid=prev</id>
		<title>BlueMountains: Created page with &quot;{{Info|Event|Server|1.3.0}}  {{FuncDescription|Event called when an object instance was created through CreateObject.}}  {{FuncSyntax|OnObjectCreated(object)}}  {{FuncPara...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=OnObjectCreated&amp;diff=4437&amp;oldid=prev"/>
		<updated>2020-10-06T21:22:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Info|Event|Server|1.3.0}}  {{FuncDescription|Event called when an object instance was created through &lt;a href=&quot;/wiki/CreateObject&quot; title=&quot;CreateObject&quot;&gt;CreateObject&lt;/a&gt;.}}  {{FuncSyntax|OnObjectCreated(object)}}  {{FuncPara...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Info|Event|Server|1.3.0}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Event called when an object instance was created through [[CreateObject]].}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|OnObjectCreated(object)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|object|The object which was created.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
function OnObjectCreated(object)&lt;br /&gt;
    print(&amp;quot;Object &amp;quot;..object..&amp;quot; was created&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
AddEvent(&amp;quot;OnObjectCreated&amp;quot;, OnObjectCreated)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
{{ObjectServerEvents}}&lt;/div&gt;</summary>
		<author><name>BlueMountains</name></author>
	</entry>
</feed>