<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://eternity.youfailit.net/index.php?action=history&amp;feed=atom&amp;title=SetActorState</id>
	<title>SetActorState - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://eternity.youfailit.net/index.php?action=history&amp;feed=atom&amp;title=SetActorState"/>
	<link rel="alternate" type="text/html" href="https://eternity.youfailit.net/index.php?title=SetActorState&amp;action=history"/>
	<updated>2026-09-14T05:37:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://eternity.youfailit.net/index.php?title=SetActorState&amp;diff=6463&amp;oldid=prev</id>
		<title>Printz: Created page with &quot;{{ACSFunction|description=Change the current frame of tagged things. |usage=&#039;&#039;int&#039;&#039; &#039;&#039;&#039;SetActorState&#039;&#039;&#039;(&#039;&#039;int tid&#039;&#039;, &#039;&#039;str state&#039;&#039;, &#039;&#039;int exact&#039;&#039;) |parameters= *&#039;&#039;tid&#039;&#039;: TID of affected things *&#039;&#039;state&#039;&#039;: name of state. Allows Decorate-style state names. See notes. *&#039;&#039;exact&#039;&#039;: if 0, it allows truncation if composed of multiple dot-separated words. If 1, it must match. |return=The number of actors whose states changed |notes=The state name doesn&#039;t need to be...&quot;</title>
		<link rel="alternate" type="text/html" href="https://eternity.youfailit.net/index.php?title=SetActorState&amp;diff=6463&amp;oldid=prev"/>
		<updated>2026-05-09T19:22:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ACSFunction|description=Change the current &lt;a href=&quot;/index.php?title=State&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;State (page does not exist)&quot;&gt;frame&lt;/a&gt; of tagged things. |usage=&amp;#039;&amp;#039;int&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;SetActorState&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;int tid&amp;#039;&amp;#039;, &amp;#039;&amp;#039;str state&amp;#039;&amp;#039;, &amp;#039;&amp;#039;int exact&amp;#039;&amp;#039;) |parameters= *&amp;#039;&amp;#039;tid&amp;#039;&amp;#039;: &lt;a href=&quot;/wiki/TID&quot; title=&quot;TID&quot;&gt;TID&lt;/a&gt; of affected things *&amp;#039;&amp;#039;state&amp;#039;&amp;#039;: name of state. Allows Decorate-style state names. See notes. *&amp;#039;&amp;#039;exact&amp;#039;&amp;#039;: if 0, it allows truncation if composed of multiple dot-separated words. If 1, it must match. |return=The number of actors whose states changed |notes=The state name doesn&amp;#039;t need to be...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ACSFunction|description=Change the current [[state|frame]] of tagged things.&lt;br /&gt;
|usage=&amp;#039;&amp;#039;int&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;SetActorState&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;int tid&amp;#039;&amp;#039;, &amp;#039;&amp;#039;str state&amp;#039;&amp;#039;, &amp;#039;&amp;#039;int exact&amp;#039;&amp;#039;)&lt;br /&gt;
|parameters=&lt;br /&gt;
*&amp;#039;&amp;#039;tid&amp;#039;&amp;#039;: [[TID]] of affected things&lt;br /&gt;
*&amp;#039;&amp;#039;state&amp;#039;&amp;#039;: name of state. Allows Decorate-style state names. See notes.&lt;br /&gt;
*&amp;#039;&amp;#039;exact&amp;#039;&amp;#039;: if 0, it allows truncation if composed of multiple dot-separated words. If 1, it must match.&lt;br /&gt;
|return=The number of actors whose states changed&lt;br /&gt;
|notes=The state name doesn&amp;#039;t need to be a [[frame]] name. It can also be a [[Decorate]] style state label. Even more, it can also refer to the label of another [[thingtype]]. For example, you can change the state to be &amp;#039;&amp;#039;&amp;#039;Zombieman::Death&amp;#039;&amp;#039;&amp;#039;, which will send all tagged things into the death frame of the Doom zombieman (if defined), even if themselves are not zombiemen. Omitting the name, e.g. &amp;#039;&amp;#039;&amp;#039;Pain&amp;#039;&amp;#039;&amp;#039;, will send all tagged actors into their specific pain states, if available. It will &amp;#039;&amp;#039;not&amp;#039;&amp;#039; remove things if the state is unavailable and S_NULL.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;exact&amp;#039;&amp;#039; value, if 0, allows such states as &amp;#039;&amp;#039;&amp;#039;Pain.Fire.Extreme&amp;#039;&amp;#039;&amp;#039; (or whatever names) to also fallback to &amp;#039;&amp;#039;&amp;#039;Pain.Fire&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;Pain&amp;#039;&amp;#039;&amp;#039;, if the longer labels are unavailable. This is useful when tagging multiple actors with customized states.&lt;br /&gt;
|id=ACS internal&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Printz</name></author>
	</entry>
</feed>