ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Selectable: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
TAK02 (talk | contribs)
Spawned AircraftTypes that land on their spawner, like the Allied Destroyer/Carrier don't land for quite a while if Selectable=no
 
(6 intermediate revisions by 4 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
|ets=yes
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=yes
|rp=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 18:50, 7 September 2015

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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