Ifsquished

From EDukeWiki
Revision as of 12:02, 22 August 2020 by Doom64hunter (talk | contribs) (Removed misinformation and added actually useful info. SQUISHABLEDISTANCE is used in GAME.CON for the player to crush shrunk enemies and has nothing to do with this conditional.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ifsquished { do something } else { do something else }

Checks if the current actor is in a sector where the distance between the ceiling and floor is below a hardcoded threshold.

Note that this conditional check is hardcoded to display quote #10 ("Squish!") if it returns true, even if no actor has actually been killed.