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

	<entry>
		<id>https://datoolset.net/mw/index.php?title=UT_SetSurrenderFlag&amp;diff=11296&amp;oldid=prev</id>
		<title>BryanDerksen: Created page with '{{dafunction |name = UT_SetSurrenderFlag |brief = Sets up a creature to surrender when they get low on health in combat. |param1type = object |param1name = oCreature |param1desc ...'</title>
		<link rel="alternate" type="text/html" href="https://datoolset.net/mw/index.php?title=UT_SetSurrenderFlag&amp;diff=11296&amp;oldid=prev"/>
				<updated>2010-02-10T17:53:07Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;{{dafunction |name = UT_SetSurrenderFlag |brief = Sets up a creature to surrender when they get low on health in combat. |param1type = object |param1name = oCreature |param1desc ...&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 = UT_SetSurrenderFlag&lt;br /&gt;
|brief = Sets up a creature to surrender when they get low on health in combat.&lt;br /&gt;
|param1type = object&lt;br /&gt;
|param1name = oCreature&lt;br /&gt;
|param1desc = The surrendering creature&lt;br /&gt;
|param1default =&lt;br /&gt;
|param2type = int&lt;br /&gt;
|param2name = bSurrender&lt;br /&gt;
|param2desc = Set or un-set the creature's surrender functionality.&lt;br /&gt;
|param2default = TRUE&lt;br /&gt;
|param3type = string&lt;br /&gt;
|param3name = sPlotName&lt;br /&gt;
|param3desc = The name of the plot which should have a flag set as the creature surrenders, if any. Default is empty.&lt;br /&gt;
|param3default = &amp;quot;&amp;quot;&lt;br /&gt;
|param4type = int&lt;br /&gt;
|param4name = nPlotFlag&lt;br /&gt;
|param4desc = The plot flag to be set as the creature surrenders, if any. The variable is irrelevant if sPlotName is empty.&lt;br /&gt;
|param4default = 0&lt;br /&gt;
|param5type = int&lt;br /&gt;
|param5name = bInitConversation&lt;br /&gt;
|param5desc = Creature will initiate a conversation on surrendering if this is TRUE.&lt;br /&gt;
|param5default = TRUE&lt;br /&gt;
|returntype = void&lt;br /&gt;
|returndesc = &lt;br /&gt;
|sourcefile = utility_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;
Enables the creature to surrender during combat and sets up the surrender plot flag if specified.&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>