# 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
- [F] —
bool
— Specific Requirements Are Enabled For Player — ( TechTreeSpecificRequirementEnabled ) - [F] —
void
— Enable/Disable SpecificTech Tree Requirements — ( TechTreeSpecificRequirementEnable ) - [F] —
void
— Allow/Disallow Behavior For Player — ( TechTreeBehaviorAllow ) - [F] —
void
— Allow/Disallow Ability For Player — ( TechTreeAbilityAllow ) - [F] —
void
— Allow/Disallow Unit For Player — ( TechTreeUnitAllow ) - [F] —
void
— Allow/Disallow Upgrade For Player — ( TechTreeUpgradeAllow ) - [F] —
bool
— Ability Is Allowed For Player — ( TechTreeAbilityIsAllowed ) - [F] —
bool
— Behavior Is Allowed For Player — ( TechTreeBehaviorIsAllowed ) - [F] —
bool
— Unit Is Allowed For Player — ( TechTreeUnitIsAllowed ) - [F] —
bool
— Upgrade Is Allowed For Player — ( TechTreeUpgradeIsAllowed ) - [F] —
void
— Add Upgrade Level For Player — ( TechTreeUpgradeAddLevel ) - [F] —
void
— Set Upgrade Level For Player — ( libNtve_gf_SetUpgradeLevelForPlayer ) - [F] —
void
— Set Production Cap For Player — ( TechTreeSetProduceCap ) - [F] —
int
— Production Cap For Player — ( TechTreeGetProduceCap )
# Examples
— None found —