From ZDoom Wiki
Jump to navigation Jump to search

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.


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

Conversions from linedef types

The following Doom map format types can be converted as Sector_SetCurrent:

Type Conversion Trigger
MiniBoomLogoIcon.pngBoom 225:Set Current Sector_SetCurrent (tag, 0, 0, 1)
MiniEternityLogoIcon.pngEternity 294:TransferHereticCurrent Sector_SetCurrent (tag, 0, 0, 1)