Sector_SetCurrent

220:Sector_SetCurrent (tag, amount, angle, useline)

  • tag: Tag of affected sector
  • amount: Strength of the current
  • angle: Angle the current flows
  • useline: Whether to get the strength and angle from the line instead

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

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

TypeConversionTrigger
Boom 225:Set CurrentSector_SetCurrent (tag, 0, 0, 1)
Eternity 294:TransferHereticCurrentSector_SetCurrent (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.