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

EvalDiploItem

From AGEWiki

Jump to: navigation, search

EvalDiploItem

Syntax  

EvalDiploItem = <TargetFactionTag>; <DI_Alias> [;<NOT>] [;<Since TurnsNumber>]

Description

Evaluates for the existance of a Diplomatic Item between the currently selected faction and the target faction.

Examples:

EvalDiploItem = AUS;$diAllianceTreaty;NOT
There is no alliance between current faction and Austria.

EvalDiploItem = AUS;$diAllianceTreaty;Since 3
There is an alliance since at least 3 turns between
  current faction and Austria.

EvalDiploItem = AUS;$diAllianceTreaty;NOT;Since 3
There is no alliance between current faction and Austria
  (or there is one, but only for 1-2 turns).



 

Parameters

<TargetFactionTag>

Valid FactionTag of the targeted faction

<DI_Alias>

Valid Alias of a Diplomatic Item

[<NOT>]

Reverses logic

"True" if the Diplomatic Item is not in effect
[<Since TurnsNumber>]

Literal with a positive integer.

Number of turns with the Diplomatic item present (or absent if NOT parameter in effect)
Forums