<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.visionaire-tracker.net/index.php?action=history&amp;feed=atom&amp;title=VisionaireObject_Command%3A_getInt</id>
		<title>VisionaireObject Command: getInt - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.visionaire-tracker.net/index.php?action=history&amp;feed=atom&amp;title=VisionaireObject_Command%3A_getInt"/>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=VisionaireObject_Command:_getInt&amp;action=history"/>
		<updated>2026-05-06T19:45:27Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=VisionaireObject_Command:_getInt&amp;diff=12156&amp;oldid=prev</id>
		<title>EK: Created page with &quot;Returns the integer value of a VisionaireObject field.   == Syntax == &lt;syntaxhighlight lang=&quot;lua&quot;&gt; getInt(field) &lt;/syntaxhighlight&gt;   == Parameters ==  {| class=&quot;ts&quot; |- ! styl...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=VisionaireObject_Command:_getInt&amp;diff=12156&amp;oldid=prev"/>
				<updated>2023-08-11T19:18:02Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Returns the integer value of a VisionaireObject field.   == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; getInt(field) &amp;lt;/syntaxhighlight&amp;gt;   == Parameters ==  {| class=&amp;quot;ts&amp;quot; |- ! styl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Returns the integer value of a VisionaireObject field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
getInt(field)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;ts&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:15%&amp;quot; | Parameter&lt;br /&gt;
! style=&amp;quot;width:15%&amp;quot; | Type&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| field&lt;br /&gt;
| integer&lt;br /&gt;
| The field which specifies an integer value. The field type must be &amp;quot;t_int&amp;quot;.&lt;br /&gt;
''Specify the field constant name (V + object table name in singular + field name) or the field id, see the example.''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Return values ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;ts&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:15%&amp;quot; | Type&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| integer&lt;br /&gt;
| The integer value of the field.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
'''Example 1:''' Get the value of a value object.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Specify the field constant name or the field id&lt;br /&gt;
local num_coins = getObject(&amp;quot;Values[coins]&amp;quot;):getInt(VValueInt)&lt;br /&gt;
local num_coins = getObject(&amp;quot;Values[coins]&amp;quot;):getInt(328)&lt;br /&gt;
&lt;br /&gt;
-- The shorthand notation offers a more convenient way to achieve the same&lt;br /&gt;
local num_coins = Values[&amp;quot;coins&amp;quot;].Int&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{toc}}&lt;/div&gt;</summary>
		<author><name>EK</name></author>	</entry>

	</feed>