<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.visionaire-tracker.net/index.php?action=history&amp;feed=atom&amp;title=Global_Command%3A_stopAction</id>
		<title>Global Command: stopAction - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.visionaire-tracker.net/index.php?action=history&amp;feed=atom&amp;title=Global_Command%3A_stopAction"/>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Global_Command:_stopAction&amp;action=history"/>
		<updated>2026-05-25T16:07:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Global_Command:_stopAction&amp;diff=11871&amp;oldid=prev</id>
		<title>EK: Created page with &quot;Stop an active action (an action that is currently being executed).  {| class=&quot;ts&quot; |- | style=&quot;width:15%&quot; | Related functions | startAction |}...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Global_Command:_stopAction&amp;diff=11871&amp;oldid=prev"/>
				<updated>2023-05-03T10:01:54Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Stop an active action (an action that is currently being executed).  {| class=&amp;quot;ts&amp;quot; |- | style=&amp;quot;width:15%&amp;quot; | Related functions | &lt;a href=&quot;/wiki/Global_Command:_startAction&quot; title=&quot;Global Command: startAction&quot;&gt;startAction&lt;/a&gt; |}...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Stop an active action (an action that is currently being executed).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;ts&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:15%&amp;quot; | Related functions&lt;br /&gt;
| [[Global Command: startAction|startAction]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
stopAction(action)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;ts&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:15%&amp;quot; | Parameter&lt;br /&gt;
! style=&amp;quot;width:15%&amp;quot; | Type&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| action&lt;br /&gt;
| TVisObj&lt;br /&gt;
| Visionaire object representing an active action.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Return values ==&lt;br /&gt;
&lt;br /&gt;
none&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
'''Example 1:''' Stop an active action.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local myActiveAction = ActiveActions[&amp;quot;action_name&amp;quot;]&lt;br /&gt;
stopAction(myActiveAction)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2:''' Start an action and stop it after a certain time, depending on a Visionaire value called &amp;quot;duration&amp;quot; holding the amount of seconds.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local myDelay = Values[&amp;quot;duration&amp;quot;].Int&lt;br /&gt;
myActiveAction = startAction(Actions[&amp;quot;action_name&amp;quot;])&lt;br /&gt;
&lt;br /&gt;
setDelay(myDelay * 1000, &amp;quot;stopAction(myActiveAction)&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{toc}}&lt;/div&gt;</summary>
		<author><name>EK</name></author>	</entry>

	</feed>