From ZDoom Wiki
Jump to navigation Jump to search

92:Polyobj_OR_Move (po, speed, angle, distance)

Moves a polyobject.

  • po: polyobj to move
  • speed: how quickly the polyobj should move
  • angle: direction the polyobj should move (this is a byte angle)
  • dist: distance to move

The “OR” in this special stands for OverRide. Under normal circumstances, if a polyobject is doing something, you cannot make it do something else until it has finished whatever it is doing. This can be a problem with perpetual polyobjects (such as Polyobj_RotateLeft or Right with a byte angle of 255). Using one of these four specials, you can force the polyobject to stop whatever it is doing and do something else.

See Also