Sector SetFriction

From Eternity Wiki
Revision as of 13:53, 10 May 2018 by Printz (talk | contribs) (Created page with "219:'''Sector_SetFriction'''(''tag'', ''amount'') This is a static linedef special which sets Boom-style friction on tagged sectors. Its Doom-format special ID is 223 and whe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

219:Sector_SetFriction(tag, amount)

This is a static linedef special which sets Boom-style friction on tagged sectors. Its Doom-format special ID is 223 and when used under that format, amount is 0, so it will use linedef's length as parameter.

Arguments

  • tag: tag of sectors to affect. They must have the "friction" generalized sector special flag enabled.
  • amount: optional amount. < 100 is sludge, > 100 is ice. If 0, this will use linedef's length.

Remarks

In UDMF, you can also set a sector's friction field directly.