Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.

AI.SetPoolRatio

From AGEWiki

Revision as of 17:18, 8 December 2010 by Lodilefty (Talk | contribs)
Jump to: navigation, search

AI.SetPoolRatio

Syntax  

AI.SetPoolRatio = FamilyUID1|Coeff1; FamilyUID2|Coeff2; FamilyUID(n)|Coeff(n)...

Description

Sets instructions to AI for to give the ideal proportion of units recruited

The command works differently if the game is in Area build mode or Regional build mode.

Example  

AI.SetPoolRatio = $famElite|25;$famRegular|50

The AI will "buy" a portion of the possible Elite units and Regular units, as defined in SetUnitPoolInfos or ChangeUnitPool. The actual proportion to purchase is calculated as in AI Pool Ratios.


 

Parameters

FamilyUID(n)

The desired Family of units

Coeff(n)

Proportion factor of pool (n)

Forums