MacePL1Check

From Eternity Wiki
Jump to: navigation, search

Description

Small Heretic mace sphere maintenance. Enables low gravity after a countdown elapses.

Usage

MacePL1Check

Parameters

No parameters.

Examples

From base/heretic/things.edf:

 Spawn:
   FX02 AB 4 A_MacePL1Check
   loop

Notes

If counter 0 is 0 does nothing. Otherwise it decrements 4 points from it. If it's still positive, it will do nothing. Otherwise it will reset it to 0 and do the following things on the actor:

  • Set the LOGRAV flag;
  • Reduce horizontal velocity to 7;
  • Halve current vertical velocity (if nonzero).

See also