Ifsquished: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
One (talk | contribs)
No edit summary
Line 1: Line 1:
'''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 equal to or less than SQUISHABLEDISTANCE, which is [[define]]d in USER.CON.
Checks if the current [[actor]] is in a sector where the distance between the ceiling and floor is equal to or less than SQUISHABLEDISTANCE, which is [[define]]d in USER.CON.



Revision as of 12:55, 4 May 2009

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 equal to or less than SQUISHABLEDISTANCE, which is defined in USER.CON.