<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modenc2.markjfox.net/history/Maps/Section:_VariableNames?feed=atom</id>
	<title>Maps/Section: VariableNames - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://modenc2.markjfox.net/history/Maps/Section:_VariableNames?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/history/Maps/Section:_VariableNames"/>
	<updated>2026-04-19T04:41:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://modenc2.markjfox.net/index.php?title=Maps/Section:_VariableNames&amp;diff=16396&amp;oldid=prev</id>
		<title>MarkJFox: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/index.php?title=Maps/Section:_VariableNames&amp;diff=16396&amp;oldid=prev"/>
		<updated>2025-03-31T19:57:22Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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 21:57, 31 March 2025&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>MarkJFox</name></author>
	</entry>
	<entry>
		<id>https://modenc2.markjfox.net/index.php?title=Maps/Section:_VariableNames&amp;diff=16395&amp;oldid=prev</id>
		<title>en&gt;DCoder at 15:52, 5 May 2006</title>
		<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/index.php?title=Maps/Section:_VariableNames&amp;diff=16395&amp;oldid=prev"/>
		<updated>2006-05-05T15:52:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DeeZireInclusion}}&amp;lt;br /&amp;gt;&lt;br /&gt;
This section defines all of the local variables - variables which are used to test for specific conditions only on this map. This is opposed to global variables which are defined in the RULES file and which can &amp;#039;hold&amp;#039; their value and thus be used throughout many maps (for example in a campaign). TIP: bear this in mind with global variables - they will carry their last values from any previous maps which used them into the current map and could cause chaos if you do not remember this.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Whether global (throughout the campaign) or local (specific to this map only), such variables use the games boolean logic and thus can only exist on one of two states at any time - SET (1) or CLEAR (0).&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
All global and local variables are clear (have a value of &amp;#039;0&amp;#039;) until set. They may be set (set to &amp;#039;1&amp;#039;) or cleared (set to &amp;#039;0&amp;#039;) by an Action or a ScriptType command (see the AI.INI Guide) however they can only be tested (i.e. have their current value queried) by an Event=.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
You should use this section to define all local variables which you wish to use on your map. This allows you, through the relevant Event, to test that conditions are being met thus make things happen through an Action when those conditions are met (or not as the case may be). Each local should be listed here, numbered in sequence starting at &amp;#039;0&amp;#039;. A typical entry looks like this;-&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
10=Bridge_Fixed,1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
All this means is that we are telling the game that local variable number 10 is going to be used to indicate whether or not a bridge has been repaired. You can use any alphanumeric string description to describe the local - purely so it makes sense to you, as the game does not parse it (it simply allows for a text description in a similar way to the Name= tag). In the example above, we are setting this local to SET (i.e. giving it a value of &amp;#039;1&amp;#039;) to indicate that the bridge starts in a repaired state.&lt;/div&gt;</summary>
		<author><name>en&gt;DCoder</name></author>
	</entry>
</feed>