# Unit Which Produces Unit
Grammar — The unit type at index index produced by unitType
Flags —Native
|Function
# Arguments
string
<gamelink::Unit> — Unit Typeint
— Index
Returns — string
<gamelink::Unit>
native string TechTreeUnitProducesUnit(
string unitType,
int index,
);
# Related
Category: Tech Tree / Production
- Ability Command Producing Unit —
abilcmd
— TechTreeUnitProducedAbilCmd - Ability Command Count Producing Unit —
int
— TechTreeUnitProducedAbilCmdCount - Unit Which Produces Unit —
string
<gamelink::Unit> — TechTreeUnitProducesUnit - Unit Which Produces Unit Count —
int
— TechTreeUnitProducesUnitCount - Unit Which Produces Upgrade —
string
<gamelink::Upgrade> — TechTreeUnitProducesUpgrade - Unit Which Produces Upgrade Count —
int
— TechTreeUnitProducesUpgradeCount - Ability Command Producing Upgrade —
abilcmd
— TechTreeUpgradeProducedAbilCmd - Ability Command Count Producing Unit —
int
— TechTreeUpgradeProducedAbilCmdCount
# Examples
— None found —