wiki:ro

Version 1 (modified by jpawlick, 13 years ago) (diff)

--

This command sends the agent walking until it hits an obstacle it cannot pass. It will walk off cliffs and into slime or lava.

Parameters:

  • 1: float yaw, the number of degrees to turn to the left. May be negative from the current view. The bot will always turn the shorter way. May be negative.
  • 2: float pitch, the number of degrees to look down from the current view. May be negative.

Reports:

  • done once turning is done. If you watch the bot, it will appear that the model rotates in successive jerks and finishes sooner than the command does. This is because the model rotation is not perfectly matched to the logical entity rotation.
  • popped if popped by po.
  • forgotten if deleted by fa.

Example:

  • User sends: "n ro 512 45 -30"
  • Bot turns left 45 degrees and looks 30 degrees up.
  • Bot replies "cp ro 512 done"