ThrustThingZ

From ZDoom Wiki
Jump to navigation Jump to search

128:ThrustThingZ (tid, force, up/down, set/add)


  • tid: Thing ID of the thing to thrust. If 0, this will thrust the activator (usually the player).
  • force: The force, in units per tic (1 second = 35 tics) divided by 4, to apply to the thing.
  • up/down: The direction to thrust the thing. (0 = up, 1 = down)
  • set/add: If 0, sets the thing's vertical speed to 0 and only then applies the force. If 1, adds the speed resulting from the special's force to the thing's current vertical speed.

Thrusts the thing vertically, given the specified force. It can either apply the force to the thing's current vertical speed or it can set the thing's vertical speed to 0 before applying the force. Can easily be combined with ThrustThing.

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.


See also

ThrustThing