GET INTERNATIONAL TAB LEVEL X TO Y

From FIFA Manager Modding Wiki
GET_INTERNATIONAL_TAB_LEVEL_X_TO_Y
ID 24
Games
scripting instructions

Adds teams from the specified league level in the specified competition's country to the current competition. This instruction does take into account the REL_RULE_TAKE_POINTS flag (if current competition is a DB_LEAGUE and the flag is set for current competition, points are taken from the league). This command is similar to GET_TAB_LEVEL_X_TO_Y, but it has an additional parameter to specify which country should be used (so it can be useful in international competitions). This instruction, in combination with GET_INTERNATIONAL_SPARE, was used for TOYOTA competition.

Parameter Location Description
{ COMP_ID } inline competition ID (only Country ID is necessary here)
BYTE 1 league level (0 - highest level)
SHORT 2 start position in the league table
BYTE 3 number of teams to get from each league
  • Add teams from the specified league level in the specified country.
    • IF current competition is a DB_LEAGUE
    • AND REL_RULE_TAKE_POINTS flag is set for current competition
      • Take team points from the league

Example[edit | edit source]

GET_INTERNATIONAL_TAB_LEVEL_X_TO_Y, { 14, LEAGUE, 0 } ; in England,
5                                                     ; at 6th level,
1                                                     ; starting from 1st team in each league,
24                                                    ; get all teams (24 is the maximum teams count in the league)