Jump to content

Selectable

From ModEnc²
Revision as of 15:18, 11 August 2014 by en>Mevitar (spawnable aircraft should not have Selectable=no set)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Selectable
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: yes
Applicable to: TechnoTypes:

AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes



Set Selectable=no to an object that should not be selected by the player.

Usually this is combined with uncontrollable objects and/or spawns, to prevent the player from selecting objects that they should not have control over. Examples include the V3 Rockets and Dreadnought Missiles (the actual missiles, not their launcher units).

Bugs

Adding Selectable=no to spawned AircraftTypes with aircraft Locomotor randomly causes them to fly over the map border instead of landing, and thus crashing the game.

See Also