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.

Selectable=no stops the player from selecting any object of this type by any means. Clicking it, drawing a band box across it, and cycling through the army with the next- and previous-object commands all pass it by. The cursor over it never becomes the select cursor.

rules.ini
[MYORCA] ; example AircraftType
Selectable=no

The setting has three further effects:

  • Pointing at an object of this type never shows its health bar.
  • In power mode, the cursor refuses to toggle the power of a structure of this type.
  • An aircraft of this type becomes a loaner when it enters the map. A loaner may leave the map, and when idle it never settles into guard.

Animation selection

Specification — Animation selection
Applies to
AnimType
File
art.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no
Used by the game
No — loaded but not used

An animation can never be selected, whatever this key says. None of the ways of selecting an object, such as a click or a band box, can reach an animation.