Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.
EvalAreaPowerRatio
From AGEWiki
EvalAreaPowerRatio | |||
Syntax EvalAreaPowerRatio = <Kind>|<AreaUID>|<Ratio>|<Operator>|<FixedPercNoPerm>|<FixedPercPerm> Description This command tests the power ratio of owned and friendly units against hostile units, within a certain area against an operator and a value. If the test fails, the conditions are not ok and the event doesn't trigger. Allied units are considered with a 50% coefficient. Fixed units are considered according to FixedPercNoPerm (if not permanently fixed) or FixedPercPerm (otherwise, and optional, will take the FixedPercNoPerm value if not specified) coefficients. Example EvalAreaPowerRatio = LAND|$Theater_FarWest|300|>=|50|25 Check if we (and our allies) reach a 3 to 1 ratio in land units, within the area in selection (this can be a custom made one). Fixed units are worth either 50% or 25% of their normal power value (both sides).
|
Parameters
The kind of units tested.
Alias of the area to use
The ratio, in percentage to test against
One of <, <=, =, >=, >
Coeff for non permanently fixed units
Coeff for permanently fixed units
|