<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://datoolset.net/mw/index.php?action=history&amp;feed=atom&amp;title=Ability_UseAbilityWrapper</id>
		<title>Ability UseAbilityWrapper - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://datoolset.net/mw/index.php?action=history&amp;feed=atom&amp;title=Ability_UseAbilityWrapper"/>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=Ability_UseAbilityWrapper&amp;action=history"/>
		<updated>2026-06-16T20:07:30Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.25.6</generator>

	<entry>
		<id>http://datoolset.net/mw/index.php?title=Ability_UseAbilityWrapper&amp;diff=12136&amp;oldid=prev</id>
		<title>BryanDerksen: Created page with '{{dafunction |name = Ability_UseAbilityWrapper |brief = Simple wrapper to use a modal ability on a creature |param1type = object |param1name = oCreature |param1desc = Creature us...'</title>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=Ability_UseAbilityWrapper&amp;diff=12136&amp;oldid=prev"/>
				<updated>2010-02-25T00:39:34Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;{{dafunction |name = Ability_UseAbilityWrapper |brief = Simple wrapper to use a modal ability on a creature |param1type = object |param1name = oCreature |param1desc = Creature us...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{dafunction&lt;br /&gt;
|name = Ability_UseAbilityWrapper&lt;br /&gt;
|brief = Simple wrapper to use a modal ability on a creature&lt;br /&gt;
|param1type = object&lt;br /&gt;
|param1name = oCreature&lt;br /&gt;
|param1desc = Creature using the ability&lt;br /&gt;
|param1default =&lt;br /&gt;
|param2type = int&lt;br /&gt;
|param2name = nAbility&lt;br /&gt;
|param2desc = [[ABILITY*]] to use&lt;br /&gt;
|param2default =&lt;br /&gt;
|param3type = object&lt;br /&gt;
|param3name = oTarget&lt;br /&gt;
|param3desc = The ability target (should be same as oCreature for modal talents&lt;br /&gt;
|param3default =&lt;br /&gt;
|param4type = int&lt;br /&gt;
|param4name = bAddIfNeeded&lt;br /&gt;
|param4desc = Add the talent to the creature if it doesn't have it&lt;br /&gt;
|param4default =FALSE&lt;br /&gt;
|param5type = int&lt;br /&gt;
|param5name = bAddCommandToTop&lt;br /&gt;
|param5desc = Whether or not to add the use ability command at the top or bottom of the action queue&lt;br /&gt;
|param5default =TRUE&lt;br /&gt;
|returntype = void&lt;br /&gt;
|returndesc = &lt;br /&gt;
|sourcefile = ability_h&lt;br /&gt;
|sourcemodule = Core Resources&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;
&lt;br /&gt;
Makes a creature use a talent or ability. Will add ability to the creature if asked to Ability Use command is added to the top of the action queue unless otherwise specified. This function is asynchronous as it uses a command.&lt;br /&gt;
&lt;br /&gt;
The command can still fail if the creature doesn't have the mana to use it, etc.&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;
&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;
&amp;lt;!-- == See also == --&amp;gt;&lt;br /&gt;
&amp;lt;!-- This section contains links to articles, functions or constant groups. --&amp;gt;&lt;/div&gt;</summary>
		<author><name>BryanDerksen</name></author>	</entry>

	</feed>