UnitCrateType
| Flag: | UnitCrateType |
| File(s): | rules(md).ini |
| Values: | Strings: Normal text. (Limited to: VehicleType or "none") |
| Special Values: | none |
| Default: | none |
| Applicable to: | CrateRules |
Defines which unit is given to the player when picking up a Unit CrateType.
Notes
If not empty, it will immediately create the specified VehicleType object.
If not set, it will use the special value "none", at which point it randomly selects from all vehicles with CrateGoodie=yes.
Automatic List Inclusion
VehicleType used as values for this flag are automatically listed under the internal [VehicleTypes] array. However no harm can be done by listing them manually.
Bugs/Side-Effects/Unexpected Limitations
If a specific type is specified here, then this will forcibly override the result after the original rules. In other words, a situation may arise where due to rules like FreeMCV forcing the CrateType of every crate picked up next to be Unit, however, because UnitCrateType= is set to an object not in [General]→BaseUnit=, the player is never able to pick up an MCV from a crate, and this in turn continues to satisfy the conditions of the FreeMCV rule, thus every crate the player encounters next will fixedly grant a unit, and this unit is the one specified by UnitCrateType=. Unless the player obtains an MCV through other methods including MindControl or Map Trigger.