Ifsquished

From EDukeWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.