# Enable/Disable Tech Tree Requirements
Grammar — isEnabled|Enable/Disable tech tree requirements for player p
Flags —Native
|Action
Enables or disables all tech requirements for the specified player.
# Arguments
int
— Playerbool
<preset::Enable_Disable_Option> — Enabled
Returns — void
native void TechTreeRequirementsEnable(
int player,
bool enable,
);
# Related
Category: Tech Tree / Global Restrictions
- Enable/Disable Tech Tree Requirements —
void
— TechTreeRequirementsEnable - Requirements Are Enabled For Player —
bool
— TechTreeRequirementsEnabled - Enable/Disable Tech Tree Restrictions —
void
— TechTreeRestrictionsEnable - Restrictions Are Enabled For Player —
bool
— TechTreeRestrictionsEnabled
# Examples
— None found —