Sector SetWind

From Eternity Wiki
Revision as of 16:09, 9 May 2018 by Printz (talk | contribs) (Created page with "218:'''Sector_SetWind'''(''tag'', ''strength'', ''angle'', ''flags'') Static special that sets wind on tagged sector(s). This is similar to Sector_SetCurrent, but also af...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

218:Sector_SetWind(tag, strength, angle, flags)

Static special that sets wind on tagged sector(s). This is similar to Sector_SetCurrent, but also affects things above ground, at greater degrees if they don't touch it or if they're above a Transfer_Heights fake ceiling.

Arguments

  • tag: tag of affected sector(s).
  • strength: wind's strength. Ignored if flags has bit 1.
  • angle: wind's direction as a byte angle. Ignored if flags has bit 1.
  • flags: optional modifier which can be a sum of any of the following values:
  • 1 (use line vector): if added, the wind's strength will be defined by linedef's length and direction, like in Boom, not by strength and angle.
  • 2 (Heretic wind): if added, the wind will behave like in Heretic. Otherwise it will behave like in Boom.

See also