<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.frictionalgames.com/page?action=history&amp;feed=atom&amp;title=HPL3%2FSOMA%2FScripting%2FScripting_Api%2FMoveObject</id>
	<title>HPL3/SOMA/Scripting/Scripting Api/MoveObject - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.frictionalgames.com/page?action=history&amp;feed=atom&amp;title=HPL3%2FSOMA%2FScripting%2FScripting_Api%2FMoveObject"/>
	<link rel="alternate" type="text/html" href="https://wiki.frictionalgames.com/page?title=HPL3/SOMA/Scripting/Scripting_Api/MoveObject&amp;action=history"/>
	<updated>2026-06-17T18:51:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.frictionalgames.com/page?title=HPL3/SOMA/Scripting/Scripting_Api/MoveObject&amp;diff=6817&amp;oldid=prev</id>
		<title>Archivist: Fixed typo on afState's description (It's supposed to be the door's position, not a lock or unlocked state)</title>
		<link rel="alternate" type="text/html" href="https://wiki.frictionalgames.com/page?title=HPL3/SOMA/Scripting/Scripting_Api/MoveObject&amp;diff=6817&amp;oldid=prev"/>
		<updated>2024-05-30T16:23:55Z</updated>

		<summary type="html">&lt;p&gt;Fixed typo on afState&amp;#039;s description (It&amp;#039;s supposed to be the door&amp;#039;s position, not a lock or unlocked state)&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 16:23, 30 May 2024&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-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{{ScriptingStub}}&lt;/del&gt;&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;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!&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;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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Have some helpful descriptions to add to this class? Edit this page and add your insight to &lt;/del&gt;the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Wiki!&lt;/del&gt;&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;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''Note: The official documentation for these functions had a typo where it wrongly documented &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;use of 'afState' in the function.''&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;==Summary==&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;==Summary==&lt;/div&gt;&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='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;{{CodeDocDetailParamStart}}&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;{{CodeDocDetailParamStart}}&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;div&gt;{{CodeDocDetailParam|asName|[[../../tString|tString]]|name of move object}}&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;{{CodeDocDetailParam|asName|[[../../tString|tString]]|name of move object}}&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;{{CodeDocDetailParam|afState|float|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;true &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; locked - false &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; unlocked&lt;/del&gt;.}}&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;{{CodeDocDetailParam|afState|float|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the position of the door you want to set it to (between 0.0f and 1.0f)&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;div&gt;{{CodeDocDetailReturn|void|}}&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;{{CodeDocDetailReturn|void|}}&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;div&gt;{{CodeDocDetailBottom}}&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;{{CodeDocDetailBottom}}&lt;/div&gt;&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-l30&quot; &gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&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;{{CodeDocDetailParamStart}}&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;{{CodeDocDetailParamStart}}&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;div&gt;{{CodeDocDetailParam|asName|[[../../tString|tString]]|name of move object}}&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;{{CodeDocDetailParam|asName|[[../../tString|tString]]|name of move object}}&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;{{CodeDocDetailParam|afState|float|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;true &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; locked - false &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; unlocked&lt;/del&gt;.}}&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;{{CodeDocDetailParam|afState|float|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the position of the door you want to set it to (between 0.0f and 1.0f)&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;div&gt;{{CodeDocDetailParam|afAcc|float|the acceleration of the movement}}&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;{{CodeDocDetailParam|afAcc|float|the acceleration of the movement}}&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;div&gt;{{CodeDocDetailParam|afMaxSpeed|float|the max speed.}}&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;{{CodeDocDetailParam|afMaxSpeed|float|the max speed.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Archivist</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.frictionalgames.com/page?title=HPL3/SOMA/Scripting/Scripting_Api/MoveObject&amp;diff=5043&amp;oldid=prev</id>
		<title>Abion47: Created page with &quot;{{ScriptingStub}}  Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!  ==Summary== {{CodeDocSummaryTop}} {{CodeDocSummaryIte...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.frictionalgames.com/page?title=HPL3/SOMA/Scripting/Scripting_Api/MoveObject&amp;diff=5043&amp;oldid=prev"/>
		<updated>2020-08-24T20:57:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ScriptingStub}}  Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!  ==Summary== {{CodeDocSummaryTop}} {{CodeDocSummaryIte...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ScriptingStub}}&lt;br /&gt;
&lt;br /&gt;
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
{{CodeDocSummaryTop}}&lt;br /&gt;
{{CodeDocSummaryItem|void|[[#MoveObject_SetState|MoveObject_SetState]](const [[../../tString|tString]] &amp;amp;in asName, float afState)|Sets the state of the move object}}&lt;br /&gt;
{{CodeDocSummaryItem|void|[[#MoveObject_SetStateExt|MoveObject_SetStateExt]](const [[../../tString|tString]] &amp;amp;in asName, float afState, float afAcc, float afMaxSpeed, float afSlowdownDist, bool abResetSpeed)|Sets the state of the move object}}&lt;br /&gt;
{{CodeDocSummaryBottom}}&lt;br /&gt;
&lt;br /&gt;
==Function Detail==&lt;br /&gt;
{{CodeDocDetailTop|MoveObject_SetState}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c++&amp;quot;&amp;gt;void MoveObject_SetState(const tString &amp;amp;in asName,&lt;br /&gt;
                         float afState)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeDocDetailBody|Sets the state of the move object. This makes it move to a certain postion between&amp;lt;br/&amp;gt;min or max pos (or outside of that is &amp;lt;0 or &amp;gt;1).}}&lt;br /&gt;
{{CodeDocDetailParamStart}}&lt;br /&gt;
{{CodeDocDetailParam|asName|[[../../tString|tString]]|name of move object}}&lt;br /&gt;
{{CodeDocDetailParam|afState|float|true &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; locked - false &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; unlocked.}}&lt;br /&gt;
{{CodeDocDetailReturn|void|}}&lt;br /&gt;
{{CodeDocDetailBottom}}&lt;br /&gt;
&lt;br /&gt;
{{CodeDocDetailTop|MoveObject_SetStateExt}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c++&amp;quot;&amp;gt;void MoveObject_SetStateExt(const tString &amp;amp;in asName,&lt;br /&gt;
                            float afState,&lt;br /&gt;
                            float afAcc,&lt;br /&gt;
                            float afMaxSpeed,&lt;br /&gt;
                            float afSlowdownDist,&lt;br /&gt;
                            bool abResetSpeed)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeDocDetailBody|Sets the state of the move object. This makes it move to a certain postion between&amp;lt;br/&amp;gt;min or max pos (or outside of that is &amp;lt;0 or &amp;gt;1).&amp;lt;br/&amp;gt;This will also set the speeed and acc at which the movement occurs.}}&lt;br /&gt;
{{CodeDocDetailParamStart}}&lt;br /&gt;
{{CodeDocDetailParam|asName|[[../../tString|tString]]|name of move object}}&lt;br /&gt;
{{CodeDocDetailParam|afState|float|true &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; locked - false &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; unlocked.}}&lt;br /&gt;
{{CodeDocDetailParam|afAcc|float|the acceleration of the movement}}&lt;br /&gt;
{{CodeDocDetailParam|afMaxSpeed|float|the max speed.}}&lt;br /&gt;
{{CodeDocDetailParam|afSlowdownDist|float|the distance from the state postion that it will start slowing to a halt.}}&lt;br /&gt;
{{CodeDocDetailParam|abResetSpeed|bool|if the previous speed should be reset.}}&lt;br /&gt;
{{CodeDocDetailReturn|void|}}&lt;br /&gt;
{{CodeDocDetailBottom}}&lt;/div&gt;</summary>
		<author><name>Abion47</name></author>
		
	</entry>
</feed>