Jump to content

Selectable: Difference between revisions

From ModEnc²
No edit summary
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{flag
{{flag
|files={{Categ|ini=rules}}
|values={{values|boolean}}
|values={{values|boolean}}
|types={{Categ|Technoes}}
|types={{Categ|Technoes}}
|default=yes
|default=yes
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=yes
|ares=yes
<!-- dunno how the other games deal with that -->
}}
}}
Set ''Selectable=no'' to an object that should not be selected by the player.
Set ''Selectable=no'' to an object that should not be selected by the player.


Usally this is combined with uncontrollable objects and/or spawns, to prevent the player when selecting more objects to select the uncontrollables to be unable to perform an action.
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. If that AircraftType has to land on it's spawner for reloads, sometimes it just starts hovering over the VehicleType and never fully lands. You'll have to move it first. With luck, you'll need to do that only once ot twice.
 
== See Also ==
*{{f|IsSelectableCombatant|link}}

Latest revision as of 17:49, 2 July 2025

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/Side-Effects/Unexpected Limitations

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. If that AircraftType has to land on it's spawner for reloads, sometimes it just starts hovering over the VehicleType and never fully lands. You'll have to move it first. With luck, you'll need to do that only once ot twice.

See Also