<?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=SetActivatorToTarget</id>
	<title>SetActivatorToTarget - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://eternity.youfailit.net/index.php?action=history&amp;feed=atom&amp;title=SetActivatorToTarget"/>
	<link rel="alternate" type="text/html" href="https://eternity.youfailit.net/index.php?title=SetActivatorToTarget&amp;action=history"/>
	<updated>2026-05-25T10:51:33Z</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=SetActivatorToTarget&amp;diff=4511&amp;oldid=prev</id>
		<title>Printz: Created page with &quot;&#039;&#039;&#039;ACS function&#039;&#039;&#039;  bool SetActivatorToTarget (int tid)  If a thing tagged &#039;&#039;tid&#039;&#039; exists, and this thing has a target (either monster enemy or projectile originator), cur...&quot;</title>
		<link rel="alternate" type="text/html" href="https://eternity.youfailit.net/index.php?title=SetActivatorToTarget&amp;diff=4511&amp;oldid=prev"/>
		<updated>2019-06-21T06:09:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;ACS function&amp;#039;&amp;#039;&amp;#039;  bool SetActivatorToTarget (int tid)  If a thing tagged &amp;#039;&amp;#039;&lt;a href=&quot;/wiki/Tid&quot; class=&quot;mw-redirect&quot; title=&quot;Tid&quot;&gt;tid&lt;/a&gt;&amp;#039;&amp;#039; exists, and this thing has a target (either monster enemy or projectile originator), cur...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;ACS function&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
bool SetActivatorToTarget (int tid)&lt;br /&gt;
&lt;br /&gt;
If a thing tagged &amp;#039;&amp;#039;[[tid]]&amp;#039;&amp;#039; exists, and this thing has a target (either monster enemy or projectile originator), current script&amp;#039;s activator will become that target. If the tagged thing exists but without any target, then the activator will become the tagged thing. In both these cases, the function will return TRUE. Otherwise, if there&amp;#039;s no tagged thing, the function will do nothing and return FALSE.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[SetActivator]]&lt;br /&gt;
*[[ACS functions]]&lt;br /&gt;
&lt;br /&gt;
[[Category:ACS]]&lt;/div&gt;</summary>
		<author><name>Printz</name></author>
	</entry>
</feed>