<?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_PREACTORDAMAGE</id>
	<title>EVENT PREACTORDAMAGE - 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_PREACTORDAMAGE"/>
	<link rel="alternate" type="text/html" href="https://wiki.eduke32.com/w/index.php?title=EVENT_PREACTORDAMAGE&amp;action=history"/>
	<updated>2026-04-19T03:10:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0-alpha</generator>
	<entry>
		<id>https://wiki.eduke32.com/w/index.php?title=EVENT_PREACTORDAMAGE&amp;diff=14873&amp;oldid=prev</id>
		<title>Doom64hunter: Created page with &quot;{{EventTable|1=EVENT_PREACTORDAMAGE|2=closest player to sprite|3=sprite being damaged|4=1 value}}  &#039;&#039;&#039;EVENT_PREACTORDAMAGE&#039;&#039;&#039; is a Game Event.  This event is triggered whenever an actor runs ifhitweapon, just before the accumulated damage in htextra is applied to the actor&#039;s extra.  RETURN is initially set to 0. If nonzero, damage will not be applied for this run of the damage calculation -- however, htextra will also not be set to...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.eduke32.com/w/index.php?title=EVENT_PREACTORDAMAGE&amp;diff=14873&amp;oldid=prev"/>
		<updated>2024-01-07T17:23:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{EventTable|1=EVENT_PREACTORDAMAGE|2=closest player to sprite|3=sprite being damaged|4=1 value}}  &amp;#039;&amp;#039;&amp;#039;EVENT_PREACTORDAMAGE&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 event is triggered whenever an actor runs &lt;a href=&quot;/wiki/Ifhitweapon&quot; title=&quot;Ifhitweapon&quot;&gt;ifhitweapon&lt;/a&gt;, just before the accumulated damage in &lt;a href=&quot;/wiki/Htextra&quot; title=&quot;Htextra&quot;&gt;htextra&lt;/a&gt; is applied to the actor&amp;#039;s &lt;a href=&quot;/wiki/Extra&quot; title=&quot;Extra&quot;&gt;extra&lt;/a&gt;.  &lt;a href=&quot;/wiki/RETURN&quot; title=&quot;RETURN&quot;&gt;RETURN&lt;/a&gt; is initially set to 0. If nonzero, damage will not be applied for this run of the damage calculation -- however, htextra will also not be set to...&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_PREACTORDAMAGE|2=closest player to sprite|3=sprite being damaged|4=1 value}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;EVENT_PREACTORDAMAGE&amp;#039;&amp;#039;&amp;#039; is a [[EDuke32_event_list|Game Event]].&lt;br /&gt;
&lt;br /&gt;
This event is triggered whenever an actor runs [[ifhitweapon]], just before the accumulated damage in [[htextra]] is applied to the actor&amp;#039;s [[extra]].&lt;br /&gt;
&lt;br /&gt;
[[RETURN]] is initially set to 0. If nonzero, damage will not be applied for this run of the damage calculation -- however, htextra will also not be set to -1, meaning that without doing anything else, the next execution of [[ifhitweapon]] may still apply the damage.&lt;br /&gt;
&lt;br /&gt;
Altering htextra in this state allows you to change the accumulated damage that is applied to the actor&amp;#039;s health.&lt;br /&gt;
&lt;br /&gt;
[[Category:Events]]&lt;/div&gt;</summary>
		<author><name>Doom64hunter</name></author>
	</entry>
</feed>