GET CHAMP COUNTRY TEAM

From FIFA Manager Modding Wiki
Revision as of 20:14, 15 September 2018 by Dmitri (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GET_CHAMP_COUNTRY_TEAM
ID 31
Games 08m.png 09m.png 10m.png 11m.png 12m.png 13m.png 14m.png
scripting instructions

Adds 1 team from the champion's country of the specified competition. First it tries to add teams from the highest-level national league, then it goes through all clubs in the country (clubs are ordered by their indexes).

Parameter Location Description
{ COMP_ID } inline competition ID
  • Gets the country of the champion of the specified competition.
  • IF the highest-level league exists in the country
    • Add 1 team from the highest-level in the country.
    • IF adding of the team was failed
      • Add the next team in the league.
  • Add 1 team from country (clubs are ordered by their indexes).
  • IF adding of the team was failed
    • Add the next team in the country.