JumpIfHealthBelow

From Eternity Wiki
Revision as of 13:55, 20 October 2024 by Printz (talk | contribs) (Created page with "{{codepointer|description=Jump to a state if caller's health is below the specified threshold. |usage='''A_JumpIfHealthBelow'''(''state'', ''health'') |parameters= *''state'': frame to jump to *''health'': only jump if below this health |notes=The health comparison is strict (<).}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

Jump to a state if caller's health is below the specified threshold.

Usage

A_JumpIfHealthBelow(state, health)

Parameters

  • state: frame to jump to
  • health: only jump if below this health

Examples

No examples given.

Notes

The health comparison is strict (<).

See also