<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.eduke32.com/w/index.php?action=history&amp;feed=atom&amp;title=EVENT_OPERATEACTIVATORS</id>
	<title>EVENT OPERATEACTIVATORS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eduke32.com/w/index.php?action=history&amp;feed=atom&amp;title=EVENT_OPERATEACTIVATORS"/>
	<link rel="alternate" type="text/html" href="https://wiki.eduke32.com/w/index.php?title=EVENT_OPERATEACTIVATORS&amp;action=history"/>
	<updated>2026-07-11T15:30:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.47.0-alpha</generator>
	<entry>
		<id>https://wiki.eduke32.com/w/index.php?title=EVENT_OPERATEACTIVATORS&amp;diff=14934&amp;oldid=prev</id>
		<title>Oasiz: Created page with &quot;{{EventTable|1=EVENT_OPERATEACTIVATORS|2=player who operated|3=current sprite|4=1 value}} &#039;&#039;&#039;EVENT_OPERATEACTIVATORS&#039;&#039;&#039; is a Game Event.  This event is triggered for each STAT_ACTIVATOR sprite with a matching lotag when OperateActivators() is called.  In practice, this applies to Buttons, Touchplates, two-way trains and the CON command Operateactivators  THISACTOR will be set to the current matching [[statnum|STAT_ACTIVATOR]...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.eduke32.com/w/index.php?title=EVENT_OPERATEACTIVATORS&amp;diff=14934&amp;oldid=prev"/>
		<updated>2025-07-03T21:07:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{EventTable|1=EVENT_OPERATEACTIVATORS|2=player who operated|3=current sprite|4=1 value}} &amp;#039;&amp;#039;&amp;#039;EVENT_OPERATEACTIVATORS&amp;#039;&amp;#039;&amp;#039; is a &lt;a href=&quot;/wiki/EDuke32_event_list&quot; class=&quot;mw-redirect&quot; title=&quot;EDuke32 event list&quot;&gt;Game Event&lt;/a&gt;.  This &lt;a href=&quot;/wiki/Event&quot; class=&quot;mw-redirect&quot; title=&quot;Event&quot;&gt;event&lt;/a&gt; is triggered for each &lt;a href=&quot;/wiki/Statnum&quot; title=&quot;Statnum&quot;&gt;STAT_ACTIVATOR&lt;/a&gt; sprite with a matching lotag when OperateActivators() is called.  In practice, this applies to Buttons, Touchplates, two-way trains and the CON command &lt;a href=&quot;/wiki/Operateactivators&quot; title=&quot;Operateactivators&quot;&gt;Operateactivators&lt;/a&gt;  &lt;a href=&quot;/wiki/THISACTOR&quot; title=&quot;THISACTOR&quot;&gt;THISACTOR&lt;/a&gt; will be set to the current matching [[statnum|STAT_ACTIVATOR]...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{EventTable|1=EVENT_OPERATEACTIVATORS|2=player who operated|3=current sprite|4=1 value}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;EVENT_OPERATEACTIVATORS&amp;#039;&amp;#039;&amp;#039; is a [[EDuke32_event_list|Game Event]].&lt;br /&gt;
&lt;br /&gt;
This [[event]] is triggered for each [[statnum|STAT_ACTIVATOR]] sprite with a matching lotag when OperateActivators() is called.&lt;br /&gt;
&lt;br /&gt;
In practice, this applies to Buttons, Touchplates, two-way trains and the CON command [[Operateactivators]]&lt;br /&gt;
&lt;br /&gt;
[[THISACTOR]] will be set to the current matching [[statnum|STAT_ACTIVATOR]] spriteNum and from there it&amp;#039;s possible to do further matching.&lt;br /&gt;
&lt;br /&gt;
This code runs just before the actual Activator &amp;amp; Activatorlocked sprites get checked so it&amp;#039;s possible to write your additional logic that modifies their normal behavior&lt;br /&gt;
&lt;br /&gt;
Setting [[RETURN]] as -1 to cancel the remaining hardcoded behavior for Activator, Activatorlocked, underwater SE18/31/32/36 special cases and OperateSectors() call. Respawns will still be triggered regardless.&lt;br /&gt;
&lt;br /&gt;
Note: This does not handle masterswitches as they are [[statnum|STAT_STANDABLE]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Events]]&lt;/div&gt;</summary>
		<author><name>Oasiz</name></author>
	</entry>
</feed>