User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

New Commands: EvalLoyalty & EvalControl

Tue Dec 18, 2007 3:33 pm

Available in any patch, for all games, posted after this message.

EvalLoyalty = <Operator>;<Value>

Operator: One of <, >, <=, >=, =, DICE

Apply on the currently selected region.

If you want to have an event which triggers if the loyalty of X regions are above or under a value, just use one EvalLoyalty command per region (one per line).

If you want to have an event which triggers if region X or region Y satisfies a criteria, you have to make 2 events, either one activating a third event, which is the one doing the in-game effect.

EvalControl works the same, but for military control.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 13 guests