MacePL1Check: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{codepointer |description=Small Heretic mace sphere maintenance. Enables low gravity after a countdown elapses. |usage='''MacePL1Check''' |examples= From base/heretic/things....")
 
(No difference)

Latest revision as of 04:29, 25 April 2020

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