PointPush_SetForce

From ZDoom Wiki
Jump to navigation Jump to search

227:PointPush_SetForce (tag, tid, amount, useline)

  • tag: Tag of sector containing the point pusher/puller
  • tid: Thing ID of the point pusher/puller
  • amount: Strength of the point pusher/puller
  • useline: Set to 1 to use the line's length to determine strength

Only valid during initialization. Sets the amount of force for a point pusher or puller. If tag is non-zero, it looks for point pusher/pullers in the tagged sectors. Otherwise, it looks for them by their tids. If useline is 1, then the amount of force is determined by the length of the linedef. Otherwise, the amount parameter is used.

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


Conversions from linedef types

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

Type Conversion Trigger
MiniBoomLogoIcon.pngBoom 226:Set Push PointPush_SetForce (tag, 0, 0, 1)