TargetJump

From Eternity Wiki
Revision as of 14:22, 17 May 2010 by Printz (talk | contribs) (Created page with '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 mee…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.