HealthJump
From Eternity Wiki
Jump to navigationJump to search
HealthJump(frame,comparison,health)
- frame: name of frame to jump to if the test passes
- comparison: one of the following:
- CPC_LESS
- CPC_LESSOREQUAL
- CPC_GREATER
- CPC_GREATEROREQUAL
- CPC_EQUAL
- CPC_NOTEQUAL
- CPC_BITWISEAND
- health: health value OR counter number
Examples
frame EXAMPLE1 { cmp = "EXPL|A|*|0|HealthJump(EXAMPLE2,CPC_LESS,50)|@next" }
Jump to frame EXAMPLE2 if health less than 50.