disable_features¶
Source: base/tealdef/gui/main/disable_features.d.tl
Notes
Names of game UI features that a mission can switch off. Missions return them as
disableFeatures = { ["Layers"] = true }; the mission script fires the
setDisableFeatures React event and the game UI keeps the set in GameContext.disableFeatures.
DisableFeatures¶
enum global base/tealdef/gui/main/disable_features.d.tl:3
global enum DisableFeatures
Notes
Keys of the feature-switch table {DisableFeatures : boolean}; a key set to true disables that UI feature.
Details
Read the current set with game_react_globals.getDisableFeatures() or
gameCtx.disableFeatures:get(). Missions set it through the disableFeatures table of
their task info (see mission_sim.script.tl).
Example