<?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%2FSetVarInteger</id>
	<title>Osiris/API/SetVarInteger - 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%2FSetVarInteger"/>
	<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/SetVarInteger&amp;action=history"/>
	<updated>2026-05-13T03:40:29Z</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/SetVarInteger&amp;diff=5256&amp;oldid=prev</id>
		<title>LarIlya at 16:48, 20 December 2017</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/SetVarInteger&amp;diff=5256&amp;oldid=prev"/>
		<updated>2017-12-20T16:48:59Z</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 16:48, 20 December 2017&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-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&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;Sets the value of the variable %&amp;lt;'''_Varname'''&amp;gt; to '''_VarValue''', if the variable exists and is of the INTEGER type.&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;Sets the value of the variable %&amp;lt;'''_Varname'''&amp;gt; to '''_VarValue''', if the variable exists and is of the INTEGER type.&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;===== Notes =====&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;===== Notes =====&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 variable has to be &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a &lt;/del&gt;global &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;variable&lt;/del&gt;. 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;/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;*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;/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;===== See Also =====&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;===== See Also =====&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;* [[Osiris/API/SetVarObject|SetVarObject]]&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;* [[Osiris/API/SetVarObject|SetVarObject]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>LarIlya</name></author>
	</entry>
	<entry>
		<id>https://docs.larian.game/index.php?title=Osiris/API/SetVarInteger&amp;diff=5249&amp;oldid=prev</id>
		<title>LarIlya: Created page with &quot;===== Full Definition(s) ===== * call '''SetVarInteger'''(''(GUIDSTRING)'''''_Source''', ''(STRING)'''''_VarName''', ''(INTEGER)'''''_VarValue''') ===== Description ===== Sets...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/SetVarInteger&amp;diff=5249&amp;oldid=prev"/>
		<updated>2017-12-20T16:45:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===== Full Definition(s) ===== * call &amp;#039;&amp;#039;&amp;#039;SetVarInteger&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;, &amp;#039;&amp;#039;(INTEGER)&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;_VarValue&amp;#039;&amp;#039;&amp;#039;) ===== Description ===== Sets...&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 '''SetVarInteger'''(''(GUIDSTRING)'''''_Source''', ''(STRING)'''''_VarName''', ''(INTEGER)'''''_VarValue''')&lt;br /&gt;
===== Description =====&lt;br /&gt;
Sets the value of the variable %&amp;lt;'''_Varname'''&amp;gt; to '''_VarValue''', if the variable exists and is of the INTEGER type.&lt;br /&gt;
===== Notes =====&lt;br /&gt;
* The variable has to be a global variable. 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/SetVarObject|SetVarObject]]&lt;br /&gt;
* [[Osiris/API/GetVarObject|GetVarObject]]&lt;br /&gt;
* [[Osiris/API/ClearVarObject|ClearVarObject]]&lt;br /&gt;
* [[Osiris/API/GetVarInteger|GetVarInteger]]&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|SetVarInteger]]&lt;/div&gt;</summary>
		<author><name>LarIlya</name></author>
	</entry>
</feed>