Sector_SetWind

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.

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 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

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 contributions are greatly appreciated.

Conversions from linedef types

The following Doom map format types can be converted as :

TypeConversionTrigger
Boom 224:Set WindSector_SetWind (tag, 0, 0, 1)
Eternity 293:TransferHereticWindSector_SetWind (tag, 0, 0, 1)
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.