Skip to content

Overrides

Overlay that no other overlay may replace once it is on a cell.

Specification
Applies to
OverlayType
File
rules.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no

The flag is consulted on the overlay already standing in a cell, not on the one arriving. An overlay being laid down asks whether the cell is empty of overlay or holds one that does not carry this flag; if the answer is no, the placement is refused and the cell keeps what it had. Everything else about the arriving overlay still happens — the object is discarded either way, and a CellAnim is created whether or not the cell accepted the overlay.

rules.ini
[MYPIPE] ; example ground fixture that Tiberium must not bury
Overrides=yes

The protection lasts only for the placements that happen during play. While the scenario is being set up the test is skipped entirely, so the overlays a map declares are laid down in the order the map gives them and a protected overlay can be replaced by a later one.

See alsoLand, Wall, Tiberium