Editing SectorDamage
From Eternity Wiki
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
*''tag'': tag of sectors whose things will take damage. | *''tag'': tag of sectors whose things will take damage. | ||
*''amount'': how much damage to inflict on each thing. | *''amount'': how much damage to inflict on each thing. | ||
*''type'': [[damagetype]] i.e. the kind of attack to inflict on each thing, for purposes such as damage resistance or obituary | *''type'': [[damagetype]] i.e. the kind of attack to inflict on each thing, for purposes such as damage resistance or obituary. | ||
*''protection'': | *''protection'': '''RESERVED'''. Must be <code>""</code>, otherwise unpredictable effects will happen with future Eternity versions. | ||
*''flags'': a combination of 0 or more of the following: | *''flags'': a combination of 0 or more of the following: | ||
:*1 or '''DAMAGE_PLAYERS''': if set, it can damage players from sectors. | :*1 or '''DAMAGE_PLAYERS''': if set, it can damage players from sectors. | ||
Line 12: | Line 12: | ||
:*4 or '''DAMAGE_IN_AIR''': if set, it can damage things which don't touch the floor. By default they must rest on the floor to take damage. | :*4 or '''DAMAGE_IN_AIR''': if set, it can damage things which don't touch the floor. By default they must rest on the floor to take damage. | ||
:Any other flags are reserved and must be avoided, because the behaviour may change in future Eternity versions. | :Any other flags are reserved and must be avoided, because the behaviour may change in future Eternity versions. | ||
|notes=Beware that this will not damage things [[Thing type flags|flagged]] '''NOSECTOR'''. Use the '''DONTDRAW''' [[Thing type flags|thing type flag]] if you want such invisible things to be harmed by '''SectorDamage'''. | |||
|notes= | |||
Beware that this will not damage things [[Thing type flags|flagged]] '''NOSECTOR'''. Use the '''DONTDRAW''' [[Thing type flags|thing type flag]] if you want such invisible things to be harmed by '''SectorDamage''' | |||
|return=None. | |return=None. | ||
|id=ACC internal | |id=ACC internal | ||
|seealso= | |seealso= | ||
*[[SetSectorDamage]]}} | *[[SetSectorDamage]]}} |