Polyobj_OR_MoveTimes8

93:Polyobj_OR_MoveTimes8 (po, speed, angle, distance)

Moves a polyobject (dist * 8) units.

  • 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 in units of 8

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

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.