<?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=Osiris%2FAPI%2FClearVarObject</id>
	<title>Osiris/API/ClearVarObject - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.larian.game/index.php?action=history&amp;feed=atom&amp;title=Osiris%2FAPI%2FClearVarObject"/>
	<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/ClearVarObject&amp;action=history"/>
	<updated>2026-04-17T22:48:40Z</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=Osiris/API/ClearVarObject&amp;diff=5980&amp;oldid=prev</id>
		<title>Tinkerer at 20:50, 1 July 2018</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/ClearVarObject&amp;diff=5980&amp;oldid=prev"/>
		<updated>2018-07-01T20:50:12Z</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 20:50, 1 July 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;===== Full Definition(s) =====&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;===== Full Definition(s) =====&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;* call '''&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SetVarObject&lt;/del&gt;'''(''(GUIDSTRING)'''''_Source''', ''(STRING)'''''_VarName''')&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;* call '''&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ClearVarObject&lt;/ins&gt;'''(''(GUIDSTRING)'''''_Source''', ''(STRING)'''''_VarName''')&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;===== Description =====&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;===== Description =====&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;Clears the value of the variable %&amp;lt;'''_Varname'''&amp;gt;, if the variable exists and is of the right type (i.e. TRIGGER, CHARACTER or ITEM).&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;Clears the value of the variable %&amp;lt;'''_Varname'''&amp;gt;, if the variable exists and is of the right type (i.e. TRIGGER, CHARACTER or ITEM).&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-l21&quot;&gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&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;br&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;br&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;br&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;br&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;[[Category:Osiris Calls|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SetVarObject&lt;/del&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;[[Category:Osiris Calls|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ClearVarObject&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tinkerer</name></author>
	</entry>
	<entry>
		<id>https://docs.larian.game/index.php?title=Osiris/API/ClearVarObject&amp;diff=5264&amp;oldid=prev</id>
		<title>LarIlya: Created page with &quot;===== Full Definition(s) ===== * call '''SetVarObject'''(''(GUIDSTRING)'''''_Source''', ''(STRING)'''''_VarName''') ===== Description ===== Clears the value of the variable %&lt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/ClearVarObject&amp;diff=5264&amp;oldid=prev"/>
		<updated>2017-12-20T16:58:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===== Full Definition(s) ===== * call &amp;#039;&amp;#039;&amp;#039;SetVarObject&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;(GUIDSTRING)&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;_Source&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;(STRING)&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;_VarName&amp;#039;&amp;#039;&amp;#039;) ===== Description ===== Clears the value of the variable %&amp;lt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===== Full Definition(s) =====&lt;br /&gt;
* call '''SetVarObject'''(''(GUIDSTRING)'''''_Source''', ''(STRING)'''''_VarName''')&lt;br /&gt;
===== Description =====&lt;br /&gt;
Clears the value of the variable %&amp;lt;'''_Varname'''&amp;gt;, if the variable exists and is of the right type (i.e. TRIGGER, CHARACTER or ITEM).&lt;br /&gt;
===== Notes =====&lt;br /&gt;
* This is not equivalent to setting '''_VarName''' to NULL with [[Osiris/API/SetVarObject|SetVarObject]]. If a variable is set to NULL rather than cleared, ''IsEqual(%Variable, null)'' will evaluate to false for it.&lt;br /&gt;
* The variable has to be global. The '''_Varname''' does not include the prefix % that is used for global variables in behaviourscript. E.g. a variable that is called ''%Variable'' in behaviourscript would simply be '''Variable''' for the purposes of this call.&lt;br /&gt;
===== See Also =====&lt;br /&gt;
* [[Osiris/API/GetVarObject|GetVarObject]]&lt;br /&gt;
* [[Osiris/API/SetVarObject|SetVarObject]]&lt;br /&gt;
* [[Osiris/API/GetVarInteger|GetVarInteger]]&lt;br /&gt;
* [[Osiris/API/SetVarInteger|SetVarInteger]]&lt;br /&gt;
* [[Osiris/API/GetVarFloat|GetVarFloat]]&lt;br /&gt;
* [[Osiris/API/SetVarFloat|SetVarFloat]]&lt;br /&gt;
* [[Osiris/API/GetVarString|GetVarString]]&lt;br /&gt;
* [[Osiris/API/SetVarString|SetVarString]]&lt;br /&gt;
* [[Osiris/API/GetVarFloat3|GetVarFloat3]]&lt;br /&gt;
* [[Osiris/API/SetVarFloat3|SetVarFloat3]]&lt;br /&gt;
* [[Osiris/API/GetVarFixedString|GetVarFixedString]]&lt;br /&gt;
* [[Osiris/API/SetVarFixedString|SetVarFixedString]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Osiris Calls|SetVarObject]]&lt;/div&gt;</summary>
		<author><name>LarIlya</name></author>
	</entry>
</feed>