# Specific Requirements Are Enabled For Player
Grammar — Tech tree requirements for requirementName are enabled for player inPlayer
Flags —Native|Function
Returns true if a player has a specific tech tree requirement enabled.
# Arguments
int— Playerstring<gamelink::Requirement> — Requirement Name
Returns — bool
native bool TechTreeSpecificRequirementEnabled(
int player,
string requirementName,
);
# Related
Category: Tech Tree / Individual Restrictions
- Specific Requirements Are Enabled For Player —
bool— TechTreeSpecificRequirementEnabled - Enable/Disable SpecificTech Tree Requirements —
void— TechTreeSpecificRequirementEnable - Allow/Disallow Behavior For Player —
void— TechTreeBehaviorAllow - Allow/Disallow Ability For Player —
void— TechTreeAbilityAllow - Allow/Disallow Unit For Player —
void— TechTreeUnitAllow - Allow/Disallow Upgrade For Player —
void— TechTreeUpgradeAllow - Ability Is Allowed For Player —
bool— TechTreeAbilityIsAllowed - Behavior Is Allowed For Player —
bool— TechTreeBehaviorIsAllowed - Unit Is Allowed For Player —
bool— TechTreeUnitIsAllowed - Upgrade Is Allowed For Player —
bool— TechTreeUpgradeIsAllowed - Add Upgrade Level For Player —
void— TechTreeUpgradeAddLevel - Set Upgrade Level For Player —
void— libNtve_gf_SetUpgradeLevelForPlayer - Set Production Cap For Player —
void— TechTreeSetProduceCap - Production Cap For Player —
int— TechTreeGetProduceCap
# Examples
— None found —