<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://datoolset.net/mw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Shade+Sharphook</id>
		<title>Dragon Age Toolset Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://datoolset.net/mw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Shade+Sharphook"/>
		<link rel="alternate" type="text/html" href="http://datoolset.net/wiki/Special:Contributions/Shade_Sharphook"/>
		<updated>2026-04-18T23:16:46Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.25.6</generator>

	<entry>
		<id>http://datoolset.net/mw/index.php?title=CreateObject&amp;diff=7647</id>
		<title>CreateObject</title>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=CreateObject&amp;diff=7647"/>
				<updated>2009-11-13T07:59:13Z</updated>
		
		<summary type="html">&lt;p&gt;Shade Sharphook: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{dafunction&lt;br /&gt;
|name=CreateObject&lt;br /&gt;
|brief=Create an object in the specified location. Will attempt to use a corresponding pool if one exists.&lt;br /&gt;
|param1type=int&lt;br /&gt;
|param1name=nObjectType&lt;br /&gt;
|param1desc=The object type (placeable, creature, etc)&lt;br /&gt;
|param1default=&lt;br /&gt;
|param2type=resource&lt;br /&gt;
|param2name=rTemplate&lt;br /&gt;
|param2desc=The template to use&lt;br /&gt;
|param2default=&lt;br /&gt;
|param3type=location&lt;br /&gt;
|param3name=lLoc&lt;br /&gt;
|param3desc=Location of the object&lt;br /&gt;
|param3default=&lt;br /&gt;
|param4type=string&lt;br /&gt;
|param4name=sOverrideScript&lt;br /&gt;
|param4desc=Script assigned to the object. If empty, the engine will use the template script&lt;br /&gt;
|param4default=&amp;quot;&amp;quot;&lt;br /&gt;
|param5type=int&lt;br /&gt;
|param5name=bSpawnActive&lt;br /&gt;
|param5desc=Whether or not this object is enabled at spawn time&lt;br /&gt;
|param5default=TRUE&lt;br /&gt;
|param6type=int&lt;br /&gt;
|param6name=bNoPermDeath&lt;br /&gt;
|param6desc=Set to TRUE to avoid destroying the object permanently (only valid for pool creatures)&lt;br /&gt;
|param6default=FALSE&lt;br /&gt;
|returntype=object&lt;br /&gt;
|returndesc=The new object, OBJECT_INVALID on failure&lt;br /&gt;
|sourcefile=script.ldf&lt;br /&gt;
|sourcemodule=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- == Description == --&amp;gt;&lt;br /&gt;
&amp;lt;!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remarks ==&lt;br /&gt;
&amp;lt;!-- This section contains additional comments, observations and known issues. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that dynamic creation of objects in the engine is subject to a host of limitations, reason being attempts to cut down 'unaccounted' memory usage.&lt;br /&gt;
&lt;br /&gt;
Try avoiding CreateObject whenever possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These objects can be created with CreateObject:&amp;lt;br /&amp;gt;&lt;br /&gt;
- Creature&amp;lt;br /&amp;gt;&lt;br /&gt;
- Placeable&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These objects can not be created with CreateObject:&amp;lt;br /&amp;gt;&lt;br /&gt;
- Merchant&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;!-- This section contains examples transcluded from the snippet library. --&amp;gt;&lt;br /&gt;
To create a creature:&amp;lt;br /&amp;gt;&lt;br /&gt;
CreateObject(OBJECT_TYPE_CREATURE, R&amp;quot;&amp;lt;name&amp;gt;.utc&amp;quot;, &amp;lt;location&amp;gt;);&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; = Resource Name&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;location&amp;gt; = Location. See [[GetLocation]] for an example.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&amp;lt;!-- This section contains links to articles, functions or constant groups. --&amp;gt;&lt;br /&gt;
[[CreatePool]], [[DestroyObject]], [[OBJECT_TYPE*]]&lt;br /&gt;
[[Category: Object functions]]&lt;/div&gt;</summary>
		<author><name>Shade Sharphook</name></author>	</entry>

	<entry>
		<id>http://datoolset.net/mw/index.php?title=GetLocation&amp;diff=7646</id>
		<title>GetLocation</title>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=GetLocation&amp;diff=7646"/>
				<updated>2009-11-13T07:55:55Z</updated>
		
		<summary type="html">&lt;p&gt;Shade Sharphook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{dafunction&lt;br /&gt;
|name=GetLocation&lt;br /&gt;
|brief=Returns the location of the specified object.&lt;br /&gt;
|param1type=object&lt;br /&gt;
|param1name=oObject&lt;br /&gt;
|param1desc=the object to get the location of&lt;br /&gt;
|returntype=location&lt;br /&gt;
|returndesc=a valid location on success or invalid location on error&lt;br /&gt;
|sourcefile=script.ldf&lt;br /&gt;
|sourcemodule=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&amp;lt;!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --&amp;gt;&lt;br /&gt;
This function returns the location of the specified object.&lt;br /&gt;
If an invalid object is specified, then an invalid location will be returned.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- == Remarks == --&amp;gt;&lt;br /&gt;
&amp;lt;!-- This section contains additional comments, observations and known issues. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;!-- This section contains examples transcluded from the snippet library. --&amp;gt;&lt;br /&gt;
To get the location of the current PC/Hero:&amp;lt;br /&amp;gt;&lt;br /&gt;
location currentLocation = GetLocation(GetHero());&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&amp;lt;!-- This section contains links to articles, functions or constant groups. --&amp;gt;&lt;br /&gt;
[[IsLocationValid]]&lt;br /&gt;
[[Category: Locations functions]]&lt;/div&gt;</summary>
		<author><name>Shade Sharphook</name></author>	</entry>

	<entry>
		<id>http://datoolset.net/mw/index.php?title=CreateObject&amp;diff=7644</id>
		<title>CreateObject</title>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=CreateObject&amp;diff=7644"/>
				<updated>2009-11-13T07:24:15Z</updated>
		
		<summary type="html">&lt;p&gt;Shade Sharphook: /* Remarks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{dafunction&lt;br /&gt;
|name=CreateObject&lt;br /&gt;
|brief=Create an object in the specified location. Will attempt to use a corresponding pool if one exists.&lt;br /&gt;
|param1type=int&lt;br /&gt;
|param1name=nObjectType&lt;br /&gt;
|param1desc=The object type (placeable, creature, etc)&lt;br /&gt;
|param1default=&lt;br /&gt;
|param2type=resource&lt;br /&gt;
|param2name=rTemplate&lt;br /&gt;
|param2desc=The template to use&lt;br /&gt;
|param2default=&lt;br /&gt;
|param3type=location&lt;br /&gt;
|param3name=lLoc&lt;br /&gt;
|param3desc=Location of the object&lt;br /&gt;
|param3default=&lt;br /&gt;
|param4type=string&lt;br /&gt;
|param4name=sOverrideScript&lt;br /&gt;
|param4desc=Script assigned to the object. If empty, the engine will use the template script&lt;br /&gt;
|param4default=&amp;quot;&amp;quot;&lt;br /&gt;
|param5type=int&lt;br /&gt;
|param5name=bSpawnActive&lt;br /&gt;
|param5desc=Whether or not this object is enabled at spawn time&lt;br /&gt;
|param5default=TRUE&lt;br /&gt;
|param6type=int&lt;br /&gt;
|param6name=bNoPermDeath&lt;br /&gt;
|param6desc=Set to TRUE to avoid destroying the object permanently (only valid for pool creatures)&lt;br /&gt;
|param6default=FALSE&lt;br /&gt;
|returntype=object&lt;br /&gt;
|returndesc=The new object, OBJECT_INVALID on failure&lt;br /&gt;
|sourcefile=script.ldf&lt;br /&gt;
|sourcemodule=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- == Description == --&amp;gt;&lt;br /&gt;
&amp;lt;!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remarks ==&lt;br /&gt;
&amp;lt;!-- This section contains additional comments, observations and known issues. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that dynamic creation of objects in the engine is subject to a host of limitations, reason being attempts to cut down 'unaccounted' memory usage.&lt;br /&gt;
&lt;br /&gt;
Try avoiding CreateObject whenever possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These objects can be created with CreateObject:&amp;lt;br /&amp;gt;&lt;br /&gt;
- Creature&amp;lt;br /&amp;gt;&lt;br /&gt;
- Placeable&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These objects can not be created with CreateObject:&amp;lt;br /&amp;gt;&lt;br /&gt;
- Merchant&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;!-- This section contains examples transcluded from the snippet library. --&amp;gt;&lt;br /&gt;
To Create a creature:&amp;lt;br /&amp;gt;&lt;br /&gt;
CreateObject(OBJECT_TYPE_CREATURE, R&amp;quot;&amp;lt;name&amp;gt;.utc&amp;quot;, &amp;lt;location&amp;gt;);&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; = Resource Name&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;location&amp;gt; = Location. See [[GetLocation]] for an example.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&amp;lt;!-- This section contains links to articles, functions or constant groups. --&amp;gt;&lt;br /&gt;
[[CreatePool]], [[DestroyObject]], [[OBJECT_TYPE*]]&lt;br /&gt;
[[Category: Object functions]]&lt;/div&gt;</summary>
		<author><name>Shade Sharphook</name></author>	</entry>

	<entry>
		<id>http://datoolset.net/mw/index.php?title=CreateObject&amp;diff=7643</id>
		<title>CreateObject</title>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=CreateObject&amp;diff=7643"/>
				<updated>2009-11-13T07:06:28Z</updated>
		
		<summary type="html">&lt;p&gt;Shade Sharphook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{dafunction&lt;br /&gt;
|name=CreateObject&lt;br /&gt;
|brief=Create an object in the specified location. Will attempt to use a corresponding pool if one exists.&lt;br /&gt;
|param1type=int&lt;br /&gt;
|param1name=nObjectType&lt;br /&gt;
|param1desc=The object type (placeable, creature, etc)&lt;br /&gt;
|param1default=&lt;br /&gt;
|param2type=resource&lt;br /&gt;
|param2name=rTemplate&lt;br /&gt;
|param2desc=The template to use&lt;br /&gt;
|param2default=&lt;br /&gt;
|param3type=location&lt;br /&gt;
|param3name=lLoc&lt;br /&gt;
|param3desc=Location of the object&lt;br /&gt;
|param3default=&lt;br /&gt;
|param4type=string&lt;br /&gt;
|param4name=sOverrideScript&lt;br /&gt;
|param4desc=Script assigned to the object. If empty, the engine will use the template script&lt;br /&gt;
|param4default=&amp;quot;&amp;quot;&lt;br /&gt;
|param5type=int&lt;br /&gt;
|param5name=bSpawnActive&lt;br /&gt;
|param5desc=Whether or not this object is enabled at spawn time&lt;br /&gt;
|param5default=TRUE&lt;br /&gt;
|param6type=int&lt;br /&gt;
|param6name=bNoPermDeath&lt;br /&gt;
|param6desc=Set to TRUE to avoid destroying the object permanently (only valid for pool creatures)&lt;br /&gt;
|param6default=FALSE&lt;br /&gt;
|returntype=object&lt;br /&gt;
|returndesc=The new object, OBJECT_INVALID on failure&lt;br /&gt;
|sourcefile=script.ldf&lt;br /&gt;
|sourcemodule=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- == Description == --&amp;gt;&lt;br /&gt;
&amp;lt;!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remarks ==&lt;br /&gt;
&amp;lt;!-- This section contains additional comments, observations and known issues. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that dynamic creation of objects in the engine is subject to a host of limitations, reason being attempts to cut down 'unaccounted' memory usage.&lt;br /&gt;
&lt;br /&gt;
Try avoiding CreateObject whenever possible.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;!-- This section contains examples transcluded from the snippet library. --&amp;gt;&lt;br /&gt;
To Create a creature:&amp;lt;br /&amp;gt;&lt;br /&gt;
CreateObject(OBJECT_TYPE_CREATURE, R&amp;quot;&amp;lt;name&amp;gt;.utc&amp;quot;, &amp;lt;location&amp;gt;);&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; = Resource Name&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;location&amp;gt; = Location. See [[GetLocation]] for an example.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&amp;lt;!-- This section contains links to articles, functions or constant groups. --&amp;gt;&lt;br /&gt;
[[CreatePool]], [[DestroyObject]], [[OBJECT_TYPE*]]&lt;br /&gt;
[[Category: Object functions]]&lt;/div&gt;</summary>
		<author><name>Shade Sharphook</name></author>	</entry>

	<entry>
		<id>http://datoolset.net/mw/index.php?title=GetLocation&amp;diff=7642</id>
		<title>GetLocation</title>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=GetLocation&amp;diff=7642"/>
				<updated>2009-11-13T07:01:22Z</updated>
		
		<summary type="html">&lt;p&gt;Shade Sharphook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Generated}}&lt;br /&gt;
{{dafunction&lt;br /&gt;
|name=GetLocation&lt;br /&gt;
|brief=Returns the location of the specified object.&lt;br /&gt;
|param1type=object&lt;br /&gt;
|param1name=oObject&lt;br /&gt;
|param1desc=the object to get the location of&lt;br /&gt;
|returntype=location&lt;br /&gt;
|returndesc=a valid location on success or invalid location on error&lt;br /&gt;
|sourcefile=script.ldf&lt;br /&gt;
|sourcemodule=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&amp;lt;!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --&amp;gt;&lt;br /&gt;
This function returns the location of the specified object.&lt;br /&gt;
If an invalid object is specified, then an invalid location will be returned.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- == Remarks == --&amp;gt;&lt;br /&gt;
&amp;lt;!-- This section contains additional comments, observations and known issues. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;!-- This section contains examples transcluded from the snippet library. --&amp;gt;&lt;br /&gt;
To get the location of the current PC/Hero:&amp;lt;br /&amp;gt;&lt;br /&gt;
location currentLocation = GetLocation(GetHero());&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&amp;lt;!-- This section contains links to articles, functions or constant groups. --&amp;gt;&lt;br /&gt;
[[IsLocationValid]]&lt;br /&gt;
[[Category: Locations functions]]&lt;/div&gt;</summary>
		<author><name>Shade Sharphook</name></author>	</entry>

	<entry>
		<id>http://datoolset.net/mw/index.php?title=CreateObject&amp;diff=7641</id>
		<title>CreateObject</title>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=CreateObject&amp;diff=7641"/>
				<updated>2009-11-13T06:54:49Z</updated>
		
		<summary type="html">&lt;p&gt;Shade Sharphook: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{dafunction&lt;br /&gt;
|name=CreateObject&lt;br /&gt;
|brief=Create an object in the specified location. Will attempt to use a corresponding pool if one exists.&lt;br /&gt;
|param1type=int&lt;br /&gt;
|param1name=nObjectType&lt;br /&gt;
|param1desc=The object type (placeable, creature, etc)&lt;br /&gt;
|param1default=&lt;br /&gt;
|param2type=resource&lt;br /&gt;
|param2name=rTemplate&lt;br /&gt;
|param2desc=The template to use&lt;br /&gt;
|param2default=&lt;br /&gt;
|param3type=location&lt;br /&gt;
|param3name=lLoc&lt;br /&gt;
|param3desc=Location of the object&lt;br /&gt;
|param3default=&lt;br /&gt;
|param4type=string&lt;br /&gt;
|param4name=sOverrideScript&lt;br /&gt;
|param4desc=Script assigned to the object. If empty, the engine will use the template script&lt;br /&gt;
|param4default=&amp;quot;&amp;quot;&lt;br /&gt;
|param5type=int&lt;br /&gt;
|param5name=bSpawnActive&lt;br /&gt;
|param5desc=Whether or not this object is enabled at spawn time&lt;br /&gt;
|param5default=TRUE&lt;br /&gt;
|param6type=int&lt;br /&gt;
|param6name=bNoPermDeath&lt;br /&gt;
|param6desc=Set to TRUE to avoid destroying the object permanently (only valid for pool creatures)&lt;br /&gt;
|param6default=FALSE&lt;br /&gt;
|returntype=object&lt;br /&gt;
|returndesc=The new object, OBJECT_INVALID on failure&lt;br /&gt;
|sourcefile=script.ldf&lt;br /&gt;
|sourcemodule=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- == Description == --&amp;gt;&lt;br /&gt;
&amp;lt;!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remarks ==&lt;br /&gt;
&amp;lt;!-- This section contains additional comments, observations and known issues. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that dynamic creation of objects in the engine is subject to a host of limitations, reason being attempts to cut down 'unaccounted' memory usage.&lt;br /&gt;
&lt;br /&gt;
Try avoiding CreateObject whenever possible.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- == Examples == --&amp;gt;&lt;br /&gt;
&amp;lt;!-- This section contains examples transcluded from the snippet library. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&amp;lt;!-- This section contains links to articles, functions or constant groups. --&amp;gt;&lt;br /&gt;
[[CreatePool]], [[DestroyObject]], [[OBJECT_TYPE*]]&lt;br /&gt;
[[Category: Object functions]]&lt;/div&gt;</summary>
		<author><name>Shade Sharphook</name></author>	</entry>

	</feed>