ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
CrateBeneath
Jump to navigation
Jump to search
| Flag: | CrateBeneath |
| File(s): | rules(md).ini |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Default: | no |
| Applicable to: | BuildingTypes |
When this building is destroyed, will it leave 1 random powerup crate?
Notes
A crate will only be left behind if the BuildingType was owned by a playable player (i.e. not neutral).
Bugs/Side-Effects/Unexpected Limitations
Due to the way the RA2/YR engine handles crates, a new crate is created every time a crate is removed (either because it was picked up or it has been in existence for the length of time determined by CrateRegen) this means that for each new crate created by this tag, there is always one more crate on the map. This can result in an unwanted surplus of crates on a map if multiple buildings with CrateBeneath are destroyed. The same results from new crates being added via CarriesCrate=yes.