<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=Env_global</id>
	<title>Env global - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=Env_global"/>
	<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Env_global&amp;action=history"/>
	<updated>2026-04-29T10:59:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=Env_global&amp;diff=177&amp;oldid=prev</id>
		<title>GeckonCZ: Import of converted entguide pages from Sven Manor.</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Env_global&amp;diff=177&amp;oldid=prev"/>
		<updated>2019-01-27T22:29:09Z</updated>

		<summary type="html">&lt;p&gt;Import of converted entguide pages from Sven Manor.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Entity_Infobox&lt;br /&gt;
| title=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The env_global entity provides the decisive functionality for allowing entity-interaction between maps. More accurately, it allows you to create/set a global variable by a name of your choice. Global variables are set to a use-type of &amp;#039;On&amp;#039; or &amp;#039;Off&amp;#039;, which can then be used by some entities as their state. E.g. the multisource entity can be set to read its state from a global variable at map load, unless you are having triggers targeting it. This could, for example, be used to make a key for some door collected in one map allow a specific door to be opened in another map.&lt;br /&gt;
&lt;br /&gt;
== Keyvalues ==&lt;br /&gt;
&lt;br /&gt;
{{Entity_keyvalue|Global state to set|globalstate|Name of the global state to set. If it does not exist, it will be created.}}&lt;br /&gt;
{{Entity_keyvalue|Trigger mode|triggermode|How to set the global state. Shall it be set to &amp;#039;On&amp;#039;, &amp;#039;Off&amp;#039;, or shall its current state be toggled? If you specify &amp;#039;Dead&amp;#039;, that will delete the global state if it exists.}}&lt;br /&gt;
{{Entity_keyvalue|Initial state|initialstate|If the &amp;#039;Set initial state&amp;#039;-flag is set, the given global state will be set to the state specified here. &amp;#039;Dead&amp;#039; removes the global state in case it exists and should act before any entities can read its global state and won&amp;#039;t read anything at all, resulting in default behaviour. For some reason, &amp;#039;Toggle&amp;#039; is not an option here, possibly because of the undefined case of a non-existing/&amp;#039;uninitialized&amp;#039; global state being told to toggle.}}&lt;br /&gt;
&lt;br /&gt;
== Flags ==&lt;br /&gt;
&lt;br /&gt;
{{Entity_flag|1|Set initial state|If set, the given global state will be set to the given initial state on map load.}}&lt;br /&gt;
&lt;br /&gt;
{{entity_title}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Entities]]&lt;br /&gt;
[[Category:Point entities]]&lt;/div&gt;</summary>
		<author><name>GeckonCZ</name></author>
	</entry>
</feed>