SetGravity

From Eternity Wiki
Revision as of 14:27, 9 May 2026 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Changes the level's gravity. |usage=''void'' '''SetGravity'''(''fixed value'') |parameters= *''value'': gravity amount. The normal Doom gravity is scaled at 800.0. |notes=The "800.0" default gravity is scaled like in the Quake game. |id=ACS internal |seealso= *SetAirControl *SetAirFriction}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Changes the level's gravity.

Usage[edit]

void SetGravity(fixed value)

Parameters[edit]

  • value: gravity amount. The normal Doom gravity is scaled at 800.0.

Return value[edit]

Examples[edit]

No examples given.

Notes[edit]

The "800.0" default gravity is scaled like in the Quake game.

This function's identification in zspecial.acs is: ACS internal.

See also[edit]