Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.
EvalNatThreats
From AGEWiki
EvalNatThreats | |||
Syntax EvalNatThreats = ChanceOKAtWarThreat|ChanceOKAtWar|ChanceOKAtPeaceThreat|ChanceOKAtPeace Description Evaluates probability of National Threats vs. parameters stated. Returns "True" if only any one of the test is passed. This is a great command to have an action activates only under certain conditions, for example triggering Mobilization. Here you would perhaps use these percentages: 100|25|10|0, meaning that if the nation is at war and under threat, the mobilization will be done asap (100% chance). If 'only' at war, 25% chance per evaluation. If at peace and under threat, 10% chance per evaluation, and if at peace without a perceived enemy, no mobilization can happen.
|
Parameters
The chance to have the test passed if the nation is at war and threatened (morale is 50 or lower, or enemy land units are worth 1.25 or more own's value).
The chance to have the test passed if the nation is at war. If at war and threatened, this is still evaluated.
The chance to have the test passed if the nation is at peace but threatened (nations with hostile relationships (-25 or below) have land units combat value worth 1.25 or more own's value).
The chance to have the test passed if the nation is at peace and not threaten. |