<?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=SetSectorDamage</id>
	<title>SetSectorDamage - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://eternity.youfailit.net/index.php?action=history&amp;feed=atom&amp;title=SetSectorDamage"/>
	<link rel="alternate" type="text/html" href="https://eternity.youfailit.net/index.php?title=SetSectorDamage&amp;action=history"/>
	<updated>2026-06-10T08:20:40Z</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=SetSectorDamage&amp;diff=5410&amp;oldid=prev</id>
		<title>Printz at 08:28, 2 January 2022</title>
		<link rel="alternate" type="text/html" href="https://eternity.youfailit.net/index.php?title=SetSectorDamage&amp;diff=5410&amp;oldid=prev"/>
		<updated>2022-01-02T08:28:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:28, 2 January 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|id=-94&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|id=-94&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|seealso=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|seealso=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*[[ChangeCeiling]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*[[ChangeFloor]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[SectorDamage]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[SectorDamage]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Printz</name></author>
	</entry>
	<entry>
		<id>https://eternity.youfailit.net/index.php?title=SetSectorDamage&amp;diff=5406&amp;oldid=prev</id>
		<title>Printz: Created page with &quot;{{ACSFunction |description=Modifies a sector&#039;s damaging floor status. |usage=&#039;&#039;void&#039;&#039; &#039;&#039;&#039;SetSectorDamage&#039;&#039;&#039;(&#039;&#039;int tag&#039;&#039;, &#039;&#039;int amount&#039;&#039;, &#039;&#039;str damagetype = &quot;Unknown&quot;&#039;&#039;, &#039;&#039;int...&quot;</title>
		<link rel="alternate" type="text/html" href="https://eternity.youfailit.net/index.php?title=SetSectorDamage&amp;diff=5406&amp;oldid=prev"/>
		<updated>2022-01-02T08:21:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ACSFunction |description=Modifies a sector&amp;#039;s damaging floor status. |usage=&amp;#039;&amp;#039;void&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;SetSectorDamage&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;int tag&amp;#039;&amp;#039;, &amp;#039;&amp;#039;int amount&amp;#039;&amp;#039;, &amp;#039;&amp;#039;str damagetype = &amp;quot;Unknown&amp;quot;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;int...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ACSFunction&lt;br /&gt;
|description=Modifies a sector&amp;#039;s damaging floor status.&lt;br /&gt;
|usage=&amp;#039;&amp;#039;void&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;SetSectorDamage&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;int tag&amp;#039;&amp;#039;, &amp;#039;&amp;#039;int amount&amp;#039;&amp;#039;, &amp;#039;&amp;#039;str damagetype = &amp;quot;Unknown&amp;quot;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;int interval = 32&amp;#039;&amp;#039;, &amp;#039;&amp;#039;int leaky = 0&amp;#039;&amp;#039;)&lt;br /&gt;
|parameters=&lt;br /&gt;
*&amp;#039;&amp;#039;tag&amp;#039;&amp;#039;: tag of sectors to modify.&lt;br /&gt;
*&amp;#039;&amp;#039;amount&amp;#039;&amp;#039;: damage to inflict per interval. Same as [[UDMF#Explanation_of_fields_2|UDMF &amp;#039;&amp;#039;&amp;#039;sector&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;damageamount&amp;#039;&amp;#039;&amp;#039;]] or [[ExtraData#damage|ExtraData &amp;#039;&amp;#039;&amp;#039;sector&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;damage&amp;#039;&amp;#039;&amp;#039;]].&lt;br /&gt;
*&amp;#039;&amp;#039;damagetype&amp;#039;&amp;#039;: [[damagetype]] (&amp;quot;means of death&amp;quot;) of the harm, for purposes like obituary or resistance. Same as [[UDMF#Explanation_of_fields_2|UDMF &amp;#039;&amp;#039;&amp;#039;sector&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;damagetype&amp;#039;&amp;#039;&amp;#039;]] or [[ExtraData#damagemod|ExtraData &amp;#039;&amp;#039;&amp;#039;sector&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;damagemod&amp;#039;&amp;#039;&amp;#039;]].&lt;br /&gt;
*&amp;#039;&amp;#039;interval&amp;#039;&amp;#039;: period in tics between damages. 32 is the standard Doom time; Heretic uses 16 for lava. Same as [[UDMF#Explanation_of_fields_2|UDMF &amp;#039;&amp;#039;&amp;#039;sector&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;damageinterval&amp;#039;&amp;#039;&amp;#039;]] or [[ExtraData#damagemask|ExtraData &amp;#039;&amp;#039;&amp;#039;sector&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;damagemask&amp;#039;&amp;#039;&amp;#039;]].&lt;br /&gt;
*&amp;#039;&amp;#039;leaky&amp;#039;&amp;#039;: chance out of 256 that the damage will breach through radiation suit protection (&amp;#039;&amp;#039;&amp;#039;PowerIronFeet&amp;#039;&amp;#039;&amp;#039;). Doom uses 5 for its classic 20% damaging floors. Same as [[UDMF#Explanation_of_fields_2|UDMF &amp;#039;&amp;#039;&amp;#039;sector&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;leakiness&amp;#039;&amp;#039;&amp;#039;]] ([[ExtraData]] only offers &amp;#039;&amp;#039;&amp;#039;LEAKYSUIT&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;IGNORESUIT&amp;#039;&amp;#039;&amp;#039;).&lt;br /&gt;
|return=None.&lt;br /&gt;
|examples=&lt;br /&gt;
This causes sectors tagged 1 to damage like the classic Doom lava:&lt;br /&gt;
 SetSectorDamage(1, 20, &amp;quot;Lava&amp;quot;, 32, 5);&lt;br /&gt;
This one clears all the damaging properties:&lt;br /&gt;
 SetSectorDamage(1, 0);&lt;br /&gt;
|notes=&lt;br /&gt;
This function strictly sets or clears the damaging floor status of a sector, which can only affect players, not monsters or other destructibles.&lt;br /&gt;
&lt;br /&gt;
It doesn&amp;#039;t offer other possibilities, such as changing the &amp;#039;&amp;#039;&amp;#039;damageflags&amp;#039;&amp;#039;&amp;#039; ([[ExtraData#damagemask|as in ExtraData]]), so you can&amp;#039;t for example enable lava that also produces terrain hits on damage, as in Heretic, if it wasn&amp;#039;t this way before. For that, you can still use the &amp;quot;change floor texture and type&amp;quot; linedef specials.&lt;br /&gt;
|id=-94&lt;br /&gt;
|seealso=&lt;br /&gt;
*[[SectorDamage]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Printz</name></author>
	</entry>
</feed>