Skip to content

4 — Move to Cell...

Changed in 0.1.0

Sends the team to a map cell given by its number.

Editor data
Numeric ID
4
Engine ID
TMISSION_MOVECELL
Editor name
Move to Cell...
Need token
NEED_HEX_NUMBER
Parameters
  1. Cell offsethex-number

Valid values

  • A cell number in decimal, X + Y * 1000. The cell at X 50, Y 60 is 60050.
Caveats
  • In a scenario whose [NewINIFormat](/keys/newiniformat/) is below 4 or absent, write the number as X + Y * 128 instead. The game converts it when the script is read. The same conversion applies to this line in ai.ini scripts whenever the map being played is in the older format, so an ai.ini value names a different cell on such a map.
  • A number that names a cell outside the playfield gives the team no destination. The team then stays on this line until a [regroup](/systems/ai-team-execution/#every-regroup-rewinds-the-script) rewinds its script.
  • The cell is not tested for being reachable or for having room to stand.
  • The team takes the next line once it has [arrived](/systems/ai-team-execution/#moving): every member is within [Stray](/keys/stray/) of the cell, or three times that for an aircraft, and has stopped. One member that cannot get there holds the team on this line.

History

  1. Changed0.1.0

    Decode Move to Cell on the width its file declares