# Production Cap For Player
Grammar — Player p produce cap for production in cat
Flags —Native
|Function
# Arguments
int
— Playerstring
[ anygamelink ] — Productionint
[ preset::TechTreeCategory ] — Category
Returns — int
native int TechTreeGetProduceCap(
int p,
string production,
int cat,
);
# 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 —