<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.larian.game/index.php?action=history&amp;feed=atom&amp;title=Scripting_compare_functions</id>
	<title>Scripting compare functions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.larian.game/index.php?action=history&amp;feed=atom&amp;title=Scripting_compare_functions"/>
	<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Scripting_compare_functions&amp;action=history"/>
	<updated>2026-05-19T00:23:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://docs.larian.game/index.php?title=Scripting_compare_functions&amp;diff=5876&amp;oldid=prev</id>
		<title>Rimevan at 07:27, 4 April 2018</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Scripting_compare_functions&amp;diff=5876&amp;oldid=prev"/>
		<updated>2018-04-04T07:27:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:27, 4 April 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This list is purely for values that can be used in script. More information on these values can be found [[Scripting#Variables|here]].&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This list is purely for values that can be used in script. More information on these values can be found [[Scripting#Variables|here]].&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following compare functions can be used in script:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;It is advised to use the enumeration value instead of the integer representation because this list is subject to change. &lt;/ins&gt;The following compare functions can be used in script:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ul&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ol&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Distance&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Distance&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Level&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Level&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l39&quot;&gt;Line 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;ArmorPoints&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;ArmorPoints&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;GoldValue&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;GoldValue&amp;lt;/li&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ul&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ol&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rimevan</name></author>
	</entry>
	<entry>
		<id>https://docs.larian.game/index.php?title=Scripting_compare_functions&amp;diff=5811&amp;oldid=prev</id>
		<title>Rimevan at 10:39, 1 March 2018</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Scripting_compare_functions&amp;diff=5811&amp;oldid=prev"/>
		<updated>2018-03-01T10:39:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:39, 1 March 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This list is purely for values that can be used in script. More information on these values can be found [[Scripting#Variables|here]].&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following compare functions can be used in script:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following compare functions can be used in script:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;ul&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;ul&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rimevan</name></author>
	</entry>
	<entry>
		<id>https://docs.larian.game/index.php?title=Scripting_compare_functions&amp;diff=4134&amp;oldid=prev</id>
		<title>Kevin: Protected &quot;Scripting compare functions&quot; ([Edit=⧼protect-level-larianeditonly⧽] (indefinite) [Move=⧼protect-level-larianeditonly⧽] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Scripting_compare_functions&amp;diff=4134&amp;oldid=prev"/>
		<updated>2017-10-25T08:06:32Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/Scripting_compare_functions&quot; title=&quot;Scripting compare functions&quot;&gt;Scripting compare functions&lt;/a&gt;&amp;quot; ([Edit=⧼protect-level-larianeditonly⧽] (indefinite) [Move=⧼protect-level-larianeditonly⧽] (indefinite))&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:06, 25 October 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Kevin</name></author>
	</entry>
	<entry>
		<id>https://docs.larian.game/index.php?title=Scripting_compare_functions&amp;diff=2257&amp;oldid=prev</id>
		<title>Rimevan: Created page with &quot;The following compare functions can be used in script: &lt;ul&gt; &lt;li&gt;Distance&lt;/li&gt; &lt;li&gt;Level&lt;/li&gt; &lt;li&gt;Vitality&lt;/li&gt; &lt;li&gt;VitalityPoints&lt;/li&gt; &lt;li&gt;Magic&lt;/li&gt; &lt;li&gt;MagicPoints&lt;/li&gt; &lt;li&gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Scripting_compare_functions&amp;diff=2257&amp;oldid=prev"/>
		<updated>2017-09-13T18:05:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The following compare functions can be used in script: &amp;lt;ul&amp;gt; &amp;lt;li&amp;gt;Distance&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;Level&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;Vitality&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;VitalityPoints&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;Magic&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;MagicPoints&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The following compare functions can be used in script:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Distance&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Level&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Vitality&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;VitalityPoints&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Magic&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;MagicPoints&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;ActionPoints&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;APMaximum&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;APStart&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;APRecovery&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Experience&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Reputation&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Karma&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Strength&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Finesse&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Intelligence&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Constitution&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Memory&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Wits&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;TrapWits&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Movement&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;FireResistance&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;EarthResistance&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;WaterResistance&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;AirResistance&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;PoisonResistance&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;PiercingResistance&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;PhysicalResistance&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;CorrosiveResistance&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;MagicResistance&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;ShadowResistance&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Sight&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Hearing&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Initiative&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Armor&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;ArmorPoints&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;GoldValue&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rimevan</name></author>
	</entry>
</feed>