TargetJump
From Eternity Wiki
Jump to navigationJump to search
Parameter Information:
- Args1 = Frame mnemonic to which object may jump (default of 0 = frame 0)
Causes the object to transfer to the indicated frame if the object's target meets the following criteria:
- The target must be valid.
- The target must be alive (health > 0).
- If this object has the Bits3 flag "SUPERFRIEND" set, its target must not be a friend.
If the jump does not occur, the object will fall through to the next frame. If the current frame's tics are set to -1, fall-through will not occur.