Changes between Initial Version and Version 1 of sc


Ignore:
Timestamp:
Jun 16, 2011 4:00:02 PM (13 years ago)
Author:
jpawlick
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sc

    v1 v1  
     1This [[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.
     2
     3'''Parameters:'''
     4 * 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.
     5
     6'''Reports:'''
     7 * ''done'' once the crouching state has been toggled.
     8 * ''popped'' if popped by [[po]].
     9 * ''forgotten'' if deleted by [[fa]] or [[fm]].
     10 * ''replaced'' if replaced by a command scheduled with 'r'.
     11
     12'''Example:'''
     13 * User sends: "n sc 512 1"
     14 * Bot replies "cp fw 512 done"
     15 * Bot crouches, until next line:
     16 * User sends: "n sc 513 0"
     17 * Bot stops crouching.