wiki:sg

Version 5 (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 sg 512 done"
  • Server: g_gravity changed to 400.000000