wiki:sg

Version 4 (modified by xwang, 13 years ago) (diff)

--

This command sets the global gravity value.

Parameters:

  • 1 float gravity, which specifies the new gravity value.

Reports:

  • done when the task completes.

Example:

  • User sends: "sg 512 400"
  • Director replies: "cp sh 512 done"
  • Server: g_gravity changed to 400.000000