<?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=Trigger_entity_iterator</id>
	<title>Trigger entity iterator - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=Trigger_entity_iterator"/>
	<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Trigger_entity_iterator&amp;action=history"/>
	<updated>2026-04-04T07:13:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=Trigger_entity_iterator&amp;diff=927&amp;oldid=prev</id>
		<title>Outerbeast at 13:43, 4 May 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Trigger_entity_iterator&amp;diff=927&amp;oldid=prev"/>
		<updated>2023-05-04T13:43:44Z</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 15:43, 4 May 2023&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-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;}}&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;}}&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;br&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;br&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;This entitiy allows you to simulate one or multiple entities triggering a specific other entity. For example, you can have all entities of classname &quot;player&quot; trigger &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a trigger_condition&lt;/del&gt;, or all entities with targetname &quot;zombie&quot; trigger &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a trigger_copyvalue&lt;/del&gt;. The triggered entity will receive every iterated entity as activator.&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;This entitiy allows you to simulate one or multiple entities triggering a specific other entity. For example, you can have all entities of classname &quot;player&quot; trigger &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a [[trigger_condition]]&lt;/ins&gt;, or all entities with targetname &quot;zombie&quot; trigger &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a [[trigger_copyvalue]]&lt;/ins&gt;. The triggered entity will receive every iterated entity as activator.&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;br&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;br&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;== Keyvalues ==&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;== Keyvalues ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key svencoop_wiki-wiki_:diff:1.41:old-926:rev-927:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Outerbeast</name></author>
	</entry>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=Trigger_entity_iterator&amp;diff=926&amp;oldid=prev</id>
		<title>Outerbeast at 13:22, 4 May 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Trigger_entity_iterator&amp;diff=926&amp;oldid=prev"/>
		<updated>2023-05-04T13:22:25Z</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 15:22, 4 May 2023&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-l9&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&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;{{Entity_keyvalue|Filter Entities by Name|name_filter|Any entity/entities by the given name will be iterated, given they also are of the specific class set in &amp;quot;Filter Entities  &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;{{Entity_keyvalue|Filter Entities by Name|name_filter|Any entity/entities by the given name will be iterated, given they also are of the specific class set in &amp;quot;Filter Entities  &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;by Classname&amp;quot; (if set).}}&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;by Classname&amp;quot; (if set).}}&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;{{Entity_keyvalue|Filter Entities by Classname|classname_filter|Any entity/entities by the given classname will be iterated, given they also match the name set in &quot;Filter Entities&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;{{Entity_keyvalue|Filter Entities by Classname|classname_filter|Any entity/entities by the given classname will be iterated, given they also match the name set in &quot;Filter Entities by Name&quot; (if set).}}&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;by Name&quot; (if set).}}&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;{{Entity_keyvalue|Filter Entities by Status|status_filter|Depending on what other option than &amp;quot;No Filter (default)&amp;quot; you set, addiontally to the filtering by name and classname through the two above keyvalues, either only dead or only alive entities will be iterated over. (An entity is considered alive while the PEV &amp;quot;deadflag&amp;quot; is 0)}}&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;{{Entity_keyvalue|Filter Entities by Status|status_filter|Depending on what other option than &amp;quot;No Filter (default)&amp;quot; you set, addiontally to the filtering by name and classname through the two above keyvalues, either only dead or only alive entities will be iterated over. (An entity is considered alive while the PEV &amp;quot;deadflag&amp;quot; is 0)}}&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;{{Entity_keyvalue|Delay between Entities (secs)|delay_between_triggers|Specify a delay, in seconds, between the individual iterations. E.g. when iterating over several zombies, this would be the delay between iterating every single zombie. A value of 0 disables this (default), causing all iteration-entities to be iterated in one  &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;{{Entity_keyvalue|Delay between Entities (secs)|delay_between_triggers|Specify a delay, in seconds, between the individual iterations. E.g. when iterating over several zombies, this would be the delay between iterating every single zombie. A value of 0 disables this (default), causing all iteration-entities to be iterated in one  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key svencoop_wiki-wiki_:diff:1.41:old-290:rev-926:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Outerbeast</name></author>
	</entry>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=Trigger_entity_iterator&amp;diff=290&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=Trigger_entity_iterator&amp;diff=290&amp;oldid=prev"/>
		<updated>2019-01-27T22:29:33Z</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;
This entitiy allows you to simulate one or multiple entities triggering a specific other entity. For example, you can have all entities of classname &amp;quot;player&amp;quot; trigger a trigger_condition, or all entities with targetname &amp;quot;zombie&amp;quot; trigger a trigger_copyvalue. The triggered entity will receive every iterated entity as activator.&lt;br /&gt;
&lt;br /&gt;
== Keyvalues ==&lt;br /&gt;
&lt;br /&gt;
{{Entity_keyvalue|Filter Entities by Name|name_filter|Any entity/entities by the given name will be iterated, given they also are of the specific class set in &amp;quot;Filter Entities &lt;br /&gt;
by Classname&amp;quot; (if set).}}&lt;br /&gt;
{{Entity_keyvalue|Filter Entities by Classname|classname_filter|Any entity/entities by the given classname will be iterated, given they also match the name set in &amp;quot;Filter Entities&lt;br /&gt;
 by Name&amp;quot; (if set).}}&lt;br /&gt;
{{Entity_keyvalue|Filter Entities by Status|status_filter|Depending on what other option than &amp;quot;No Filter (default)&amp;quot; you set, addiontally to the filtering by name and classname through the two above keyvalues, either only dead or only alive entities will be iterated over. (An entity is considered alive while the PEV &amp;quot;deadflag&amp;quot; is 0)}}&lt;br /&gt;
{{Entity_keyvalue|Delay between Entities (secs)|delay_between_triggers|Specify a delay, in seconds, between the individual iterations. E.g. when iterating over several zombies, this would be the delay between iterating every single zombie. A value of 0 disables this (default), causing all iteration-entities to be iterated in one &lt;br /&gt;
go. A very low value like 0.00001 would mean to iterate over one entity every server frame.}}&lt;br /&gt;
{{Entity_keyvalue|Entity&amp;#039;s Trigger Target|target|Name of the entity to be triggered by the individual iteration/activator-entities. It &amp;quot;carries&amp;quot; the iteration.}}&lt;br /&gt;
{{Entity_keyvalue|Entity&amp;#039;s Trigger State|triggerstate|Set the use-type with which the iterated/activating entities will fire the iteration carrier-entity set by &amp;quot;Trigger Target&amp;quot;.}}&lt;br /&gt;
{{Entity_keyvalue|Run Mode|run_mode|If set to &amp;quot;Toggle On/Off&amp;quot;, this entity becomes toggleable and will have a delay between complete iteration-passes of all iteration-entities, set by &amp;quot;Delay before Restarting (secs)&amp;quot;. If set to &amp;quot;Run Once; Multi-threaded&amp;quot;, every time you trigger this, &lt;br /&gt;
a temporary copy will be created and perform one full run, then remove itself from the game. You can have multiple copies &lt;br /&gt;
run simulatenously. This only makes sense with a non-zero &amp;quot;Delay between Entities (secs)&amp;quot;.}}&lt;br /&gt;
{{Entity_keyvalue|Trigger at end of each Run|trigger_after_run|Set something to be triggered after a full run has been completed/performed.}}&lt;br /&gt;
{{Entity_keyvalue|Maximum Runs (0 for unlimited)|maximum_runs|Specify how many complete iteration-passes may be performed before this entity is removed from the game. &lt;br /&gt;
Set this to 0 to disable this feature.}}&lt;br /&gt;
{{Entity_keyvalue|Delay before Restarting (secs)|delay_between_runs|Specify a delay, in seconds, between complete iteration-passes. E.g. when iterating several zombies, this would be the delay between iterating all of those zombies and then iterating all of those zombies again. This is only relevant in constant mode &lt;br /&gt;
and the individual interval will still be considered when this is used. A value of 0 will always cause a delay of a single server frame. The individual interval will not add onto this.}}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
If a non-constant, non-multithreaded trigger_entity_iterator is triggered while currently running (delay between triggers greater than zero), it will stop and restart the iteration process immediately when triggered with use-type &amp;quot;On&amp;quot;, but simply stop when triggered with any other use-type.&lt;br /&gt;
&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>