Sector_SetWind

From ZDoom Wiki
Jump to: navigation, search

218:Sector_SetWind (tag, amount, angle, useline)


  • tag: Tag of affected sector
  • amount: Strength of the wind
  • angle: Angle the wind blows
  • useline: Get strength and angle from the line instead?

If useline is 1, this behaves just like BOOM's 224 linedef. If useline is 0, then the magnitude and angle parameters are used instead of the size and orientation of the line.

If used in a script, keep in mind that the sector needs the "pusher/puller/wind enabled" flag (4096) for this to have an effect.

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.


Conversions from linedef types

The following Doom map format types can be converted as :

Type Conversion Trigger
MiniBoomLogoIcon.pngBoom 224:Set Wind Sector_SetWind (tag, 0, 0, 1)
MiniEternityLogoIcon.pngEternity 293:TransferHereticWind Sector_SetWind (tag, 0, 0, 1)