wiki:sc

This ProtocolZero command sets the agent's crouching state. When the state is nonzero, the agent will crouch during all actions (except ju). When the state is zero, the agent stands upright. Crouching slows down the agent's movement, capping it at a lower value.

Parameters:

  • 1: integer crouching. If non-zero, the quagent will crouch until this is called again with a zero argument. If zero, the agent stops crouching.

Reports:

  • done once the crouching state has been toggled.
  • popped if popped by po.
  • forgotten if deleted by fa or fm.
  • replaced if replaced by a command scheduled with 'r'.

Example:

  • User sends: "n sc 512 1"
  • Bot replies "cp fw 512 done"
  • Bot crouches, until next line:
  • User sends: "n sc 513 0"
  • Bot stops crouching.
Last modified 13 years ago Last modified on Jun 16, 2011 4:00:02 PM