Skip to content

Selectable

Whether a player can select the object at all.

Player selection

Specification — Player selection
Applies to
ObjectType and derived types
AircraftTypeBuildingTypeBulletTypeInfantryTypeOverlayTypeParticleSystemTypeParticleTypeSmudgeTypeTerrainTypeUnitTypeVoxelAnimType
File
rules.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
Context-dependentAn AircraftType, BuildingType, InfantryType, UnitType, ParticleType, ParticleSystemType or VoxelAnimType section starts at yes. A BulletType, OverlayType, SmudgeType or TerrainType section starts at no.

Clearing the flag closes every route into a selection. The cursor over the object never becomes the select cursor and a click on it selects nothing, a band box drawn across it passes it by, and cycling forward or backward through the army steps over it. The power-toggle cursor also refuses it.

rules.ini
[MYPROP] ; a BuildingType placed as scenery
Selectable=no

A building carries a further condition of its own: even while selectable, a band box takes it in only when it undeploys into a unit and is not a construction yard. A single click still selects it.

Animation selection

Specification — Animation selection
Applies to
AnimType
File
art.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no

An animation is not selectable, and none of the routes that offer an object to the player — the select cursor, a click, a band box, army cycling, the power-toggle cursor — ever reaches one. The flag is stored for the scope and consulted nowhere in it.