<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sogpf.com/index.php?action=history&amp;feed=atom&amp;title=Respawning_Garrison</id>
	<title>Respawning Garrison - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sogpf.com/index.php?action=history&amp;feed=atom&amp;title=Respawning_Garrison"/>
	<link rel="alternate" type="text/html" href="https://wiki.sogpf.com/index.php?title=Respawning_Garrison&amp;action=history"/>
	<updated>2026-05-19T03:28:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://wiki.sogpf.com/index.php?title=Respawning_Garrison&amp;diff=11634&amp;oldid=prev</id>
		<title>Veteran29 at 23:41, 19 July 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.sogpf.com/index.php?title=Respawning_Garrison&amp;diff=11634&amp;oldid=prev"/>
		<updated>2022-07-19T23:41:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:41, 19 July 2022&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-l8&quot; &gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;To setup the respawning garrison, place the module in the editor and synchronize it to the AI units, whole group of the synchronized unit will be added to the garrsion. Multiple groups can be added to single garrison.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;To setup the respawning garrison, place the module in the editor and synchronize it to the AI units, whole group of the synchronized unit will be added to the garrsion. Multiple groups can be added to single garrison.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 module can be synchronized to a trigger which will activate the spawning of the units, or alternatively the ''Code'' attribute can be used to enable the spawning by returining ''true''. Once the garrison is enabled deactivation of the trigger or returning ''false'' from the code will not stop the spawning, garrison does not support other means of deactivation than player getting into the module area or &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;exhausting &lt;/del&gt;of all available tickets.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 module can be synchronized to a trigger which will activate the spawning of the units, or alternatively the ''Code'' attribute can be used to enable the spawning by returining ''true''. Once the garrison is enabled deactivation of the trigger or returning ''false'' from the code will not stop the spawning, garrison does not support other means of deactivation than player getting into the module area or &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;exhaustion &lt;/ins&gt;of all available tickets.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;All synchronized triggers and code work as &amp;quot;or&amp;quot;, if only one of them is activated/return true the garrison will be activated.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;All synchronized triggers and code work as &amp;quot;or&amp;quot;, if only one of them is activated/return true the garrison will be activated.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Veteran29</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.sogpf.com/index.php?title=Respawning_Garrison&amp;diff=11633&amp;oldid=prev</id>
		<title>Veteran29 at 23:41, 19 July 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.sogpf.com/index.php?title=Respawning_Garrison&amp;diff=11633&amp;oldid=prev"/>
		<updated>2022-07-19T23:41:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:41, 19 July 2022&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-l8&quot; &gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;To setup the respawning garrison, place the module in the editor and synchronize it to the AI units, whole group of the synchronized unit will be added to the garrsion. Multiple groups can be added to single garrison.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;To setup the respawning garrison, place the module in the editor and synchronize it to the AI units, whole group of the synchronized unit will be added to the garrsion. Multiple groups can be added to single garrison.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 module can be synchronized to a trigger which will activate the spawning of the units, or alternatively the ''Code'' attribute can be used to enable the spawning by returining ''true''. Once the garrison is enabled deactivation of the trigger or returning ''false'' from the code will not stop the spawning, garrison does not support other means of deactivation than player getting into the module area.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 module can be synchronized to a trigger which will activate the spawning of the units, or alternatively the ''Code'' attribute can be used to enable the spawning by returining ''true''. Once the garrison is enabled deactivation of the trigger or returning ''false'' from the code will not stop the spawning, garrison does not support other means of deactivation than player getting into the module area &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;or exhausting of all available tickets&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;All synchronized triggers and code work as &amp;quot;or&amp;quot;, if only one of them is activated/return true the garrison will be activated.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;All synchronized triggers and code work as &amp;quot;or&amp;quot;, if only one of them is activated/return true the garrison will be activated.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Veteran29</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.sogpf.com/index.php?title=Respawning_Garrison&amp;diff=10109&amp;oldid=prev</id>
		<title>Veteran29: Initial documentation of &quot;Respawning Garrison&quot; module</title>
		<link rel="alternate" type="text/html" href="https://wiki.sogpf.com/index.php?title=Respawning_Garrison&amp;diff=10109&amp;oldid=prev"/>
		<updated>2022-06-05T14:22:21Z</updated>

		<summary type="html">&lt;p&gt;Initial documentation of &amp;quot;Respawning Garrison&amp;quot; module&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Respawning Garrison ==&lt;br /&gt;
&lt;br /&gt;
This page will guide you through adding the Respawning Garrison module to your mission.&lt;br /&gt;
&lt;br /&gt;
This module will continously fill synchronized AI groups with new units until it runs out of tickets or player will step into its area.&lt;br /&gt;
&lt;br /&gt;
=== Eden Editor - Setting up the garrison ===&lt;br /&gt;
&lt;br /&gt;
To setup the respawning garrison, place the module in the editor and synchronize it to the AI units, whole group of the synchronized unit will be added to the garrsion. Multiple groups can be added to single garrison.&lt;br /&gt;
The module can be synchronized to a trigger which will activate the spawning of the units, or alternatively the ''Code'' attribute can be used to enable the spawning by returining ''true''. Once the garrison is enabled deactivation of the trigger or returning ''false'' from the code will not stop the spawning, garrison does not support other means of deactivation than player getting into the module area.&lt;br /&gt;
&lt;br /&gt;
All synchronized triggers and code work as &amp;quot;or&amp;quot;, if only one of them is activated/return true the garrison will be activated.&lt;br /&gt;
&lt;br /&gt;
'''Attributes:'''&lt;br /&gt;
* Respawn tickets - how many units can be spawned by the module&lt;br /&gt;
* Code - code condition used to activate the garrison spawning&lt;br /&gt;
&lt;br /&gt;
==== Spawning behaviour ====&lt;br /&gt;
&lt;br /&gt;
On the mission start, garrisoned units will be hidden, their simulation and damage will be disabled. Handled groups are '''not''' removed, they're just hidden, this allows mission maker to use the editor assigned group variables and waypoints.&lt;br /&gt;
&lt;br /&gt;
Once the module will be activated it will unhide and &amp;quot;enable&amp;quot; the units of the handled groups, after that it will try to maintain the initial amount of units in each of the handled groups, in case of unit in the group dying it will create new one in its place and decrement the amount of tickets by one. Once the amount of available tickets will reach zero the module will stop respawning the units.&lt;br /&gt;
&lt;br /&gt;
Module will use initial position and loadouts of the group for the respawn algorithm, this allows to have precise control of the respawn position, it will be selected randomly from the available pool. This means that the killed unit will be not replaced by exactly same one.&lt;br /&gt;
&lt;br /&gt;
To prevent players from seeing the spawning, the module area is used as an &amp;quot;safezone&amp;quot;, if any player is detected in the module area the garrison will interrupt the spawn loop.&lt;br /&gt;
&lt;br /&gt;
=== Example setup ===&lt;br /&gt;
&lt;br /&gt;
[[File:Respawning garrison module setup.webp|thumb|left|Example Respawning Garrison module setup.]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Modules]]&lt;/div&gt;</summary>
		<author><name>Veteran29</name></author>
		
	</entry>
</feed>