GET UEFA5 SURE UIC

From FIFA Manager Modding Wiki
Revision as of 20:53, 12 September 2018 by Dmitri (talk | contribs) (Created page with "{{ScriptInstruction|name=GET_UEFA5_SURE_UIC|id=6|games=x12px}} Fills reserved spaces for country at specified position in the assessment table. It adds teams...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GET_UEFA5_SURE_UIC
ID 6
Games 07m.png
scripting instructions

Fills reserved spaces for country at specified position in the assessment table. It adds teams from the highest-level national league (starting from 1st place) in the country until reserved spaces are filled. Only teams which can play in the Intertoto Cup are added ("Does not Take Part in IT-Cup" flag in Editor is disabled).

Parameter Location Description
SHORT inline assesment position (starting from 1) of the country
BYTE inline unused, always set to 8
  • IF specified assessment position exists in the assessment table
    • FOR each team in the highest-level national league ({ countryId, LEAGUE, 0})
      • IF there are free spaces in the reserved spaces table for the country
        • IF team can take part in Intertoto Cup
          • Add team to the competition.
      • ELSE
        • BREAK
  • IF the team was added
    • Decreases reserved assessment space.

Notes[edit | edit source]

This instruction should be called only after the table for assessment spaces was allocated with BUILD_COUNTER instruction. The assessment position parameter should be lesser than the allocated table size.