|Applicable to:||VoxTypes, VocTypes|
Priority= is used in eva(md).ini and sound(md).ini to set how important a sound overlay is compared to other currently playing sounds, in order to decide when/how to play it. The available values are a ranking, from lowest importance to highest, with higher priorities overruling the lower ones (obviously).
In Tiberian Sun
In TibSun and Firestorm, the usage of Priority is the same, with the exceptions that
- TS/FS does not have an eva.ini, and
- The priorities are measured by an integer value, with 100 being the highest used in the INI and the other used values being 15, 50 and 75. (It's highly possible that the values are not limited to these, but information about this is not stated in the file.)
Used values range from 0 to 50. AI(md).ini has values in multiples of 4 (TS) or 5 or 7 (RA2/YR). Other numbers are used in single player maps which gives granular control of the priority status.
A TeamType with higher Priority value can recruit team members from a TeamType with lower Priority value, even if the lower Priority value team hasn't yet completed its script actions. TeamTypes with equal Priority values cannot recruit from one another. Also a lower Priority TeamType cannot recruit from a TeamType with higher Priority value.
Recruitment needs the following conditions to be met. The TeamType should allow recruitment of its members with AreTeamMembersRecruitable=yes. When Recruiter=no, then their Group IDs should match. Check Group for the exception case of ID with value -2. When Recruiter=yes, inter-Group recruitment is allowed.When the team members finish their script actions, they loose their Priority value and can be recruited into teams with any Priority value.