Skip to content

6 — Jump to line #

Continues the current team script from a selected one-based line number.

Editor data
Numeric ID
6
Engine ID
TMISSION_LOOP
Editor name
Jump to line #...
Need token
NEED_NUMBER
Parameters
  1. Numberinteger

The mission rewrites the script cursor and marks the team ready for its next mission at once. What it writes is the number given less two, and stepping to that next mission adds one back, leaving the cursor one below the number given — which is what makes the argument an editor shows a one-based line number.

Valid values

  • A one-based script line number; 1 jumps to the first line.
Caveats
  • A backward jump forms a loop with no automatic iteration limit.
  • The target must identify a populated line in the script's mission list.