<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.thedarkmod.com/index.php?action=history&amp;feed=atom&amp;title=CMultiStateMover</id>
	<title>CMultiStateMover - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.thedarkmod.com/index.php?action=history&amp;feed=atom&amp;title=CMultiStateMover"/>
	<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=CMultiStateMover&amp;action=history"/>
	<updated>2026-04-29T21:44:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=CMultiStateMover&amp;diff=22297&amp;oldid=prev</id>
		<title>Grayman: /* Spawnargs */</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=CMultiStateMover&amp;diff=22297&amp;oldid=prev"/>
		<updated>2018-12-01T15:42:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Spawnargs&lt;/span&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:42, 1 December 2018&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-l16&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&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;* &amp;#039;&amp;#039;&amp;#039;move_speed&amp;#039;&amp;#039;&amp;#039; (float) is inherited from idMover. Defines the world units per second to move between floors.&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;* &amp;#039;&amp;#039;&amp;#039;move_speed&amp;#039;&amp;#039;&amp;#039; (float) is inherited from idMover. Defines the world units per second to move between floors.&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;* &#039;&#039;&#039;move_time&#039;&#039;&#039; (float) is inherited from idMover. Don&#039;t use this, it makes the mover slower when it&#039;s nearer &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;at &lt;/del&gt;its goal.&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;* &#039;&#039;&#039;move_time&#039;&#039;&#039; (float) is inherited from idMover. Don&#039;t use this, it makes the mover slower when it&#039;s nearer &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to &lt;/ins&gt;its goal.&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;=== Script Events ===&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;=== Script Events ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Grayman</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=CMultiStateMover&amp;diff=6607&amp;oldid=prev</id>
		<title>Greebo: categorised</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=CMultiStateMover&amp;diff=6607&amp;oldid=prev"/>
		<updated>2008-06-30T07:43:46Z</updated>

		<summary type="html">&lt;p&gt;categorised&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 07:43, 30 June 2008&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-l24&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&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;The CMultiStateMover works closely together with the [[CMultiStateMoverPosition]] and [[CMultiStateMoverButton]] classes. There is a lot of communication going on between these, to handle the AAS obstacle stuff and to let AI know which buttons to use at which elevator station.&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;The CMultiStateMover works closely together with the [[CMultiStateMoverPosition]] and [[CMultiStateMoverButton]] classes. There is a lot of communication going on between these, to handle the AAS obstacle stuff and to let AI know which buttons to use at which elevator station.&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;{{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;coding&lt;/del&gt;}} {{editing}}&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;{{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sdk&lt;/ins&gt;}} {{editing}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Greebo</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=CMultiStateMover&amp;diff=6577&amp;oldid=prev</id>
		<title>Greebo: New page: == CMultiStateMover == The corresponding entityDefs are &#039;&#039;&#039;atdm:mover_multistate&#039;&#039;&#039; and &#039;&#039;&#039;atdm:mover_elevator&#039;&#039;&#039;.  This mover supports several target positions. The primary &quot;clients&quot; of t...</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=CMultiStateMover&amp;diff=6577&amp;oldid=prev"/>
		<updated>2008-06-22T14:33:38Z</updated>

		<summary type="html">&lt;p&gt;New page: == CMultiStateMover == The corresponding entityDefs are &amp;#039;&amp;#039;&amp;#039;atdm:mover_multistate&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;atdm:mover_elevator&amp;#039;&amp;#039;&amp;#039;.  This mover supports several target positions. The primary &amp;quot;clients&amp;quot; of t...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== CMultiStateMover ==&lt;br /&gt;
The corresponding entityDefs are &amp;#039;&amp;#039;&amp;#039;atdm:mover_multistate&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;atdm:mover_elevator&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
This mover supports several target positions. The primary &amp;quot;clients&amp;quot; of this class are elevators, of course.&lt;br /&gt;
&lt;br /&gt;
The positions are defined by so-called [[CMultiStateMoverPosition]] entities, which are placed by the mapper. It also takes care of triggering/activating the [[func_aas_obstacle]] entities, which are needed for the AI to pathfind on elevator stations.&lt;br /&gt;
&lt;br /&gt;
The triggering (&amp;quot;activating&amp;quot;) entity needs to carry a &amp;quot;position&amp;quot; spawnarg so that the elevator knows where to move to.&lt;br /&gt;
&lt;br /&gt;
=== Spawnargs ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;forward_direction&amp;#039;&amp;#039;&amp;#039; (vector) This defines the &amp;quot;forward direction&amp;quot; of this elevator (default is &amp;#039;0 0 1&amp;#039;, i.e. upwards). This is needed to control the gear direction of any attached movers.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;control_gear_direction&amp;#039;&amp;#039;&amp;#039; (1/0) Set this to 1 to let this mover control the direction of targetted rotaters, depending on whether the mover is moving forward/backwards.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;trigger_on_reached&amp;#039;&amp;#039;&amp;#039; (1/0) Set to 1 if the mover should trigger its targets when a position is reached.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;trigger_on_leave&amp;#039;&amp;#039;&amp;#039; (1/0) Set to 1 if the mover should trigger its targets when leaving from a position.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;move_speed&amp;#039;&amp;#039;&amp;#039; (float) is inherited from idMover. Defines the world units per second to move between floors.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;move_time&amp;#039;&amp;#039;&amp;#039; (float) is inherited from idMover. Don&amp;#039;t use this, it makes the mover slower when it&amp;#039;s nearer at its goal.&lt;br /&gt;
&lt;br /&gt;
=== Script Events ===&lt;br /&gt;
* &amp;lt;no special event&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== C++ Methods and Events ===&lt;br /&gt;
The CMultiStateMover works closely together with the [[CMultiStateMoverPosition]] and [[CMultiStateMoverButton]] classes. There is a lot of communication going on between these, to handle the AAS obstacle stuff and to let AI know which buttons to use at which elevator station.&lt;br /&gt;
&lt;br /&gt;
{{coding}} {{editing}}&lt;/div&gt;</summary>
		<author><name>Greebo</name></author>
	</entry>
</feed>