






Age of Wonders II
is a turn-based strategy game developed by
Triumph Studios

![]() |
![]() |
Scenario Design
by Talon-Thorn The Conditions List on the Events Main Tab allows you to set up complex conditions in combination with the trigger to create very specific event triggers. This article will show you how to make use of the logical operators so that you can correctly build complex triggers for your scripts. ![]() Each condition in the list is set up with either an AND, AND NOT, OR, or OR NOT logical operator*, so you will need to know a little about basic logic to use this section. Basically, AND links conditions together so that all consecutive AND conditions must be true for the event to occur. OR conditions create a break in the list of conditions so that the event occurs on the trigger if either all conditions before the OR or after the OR are satisfied. For example, if you have the following:
The event will occur when the trigger is tripped and either 1) cond1 and cond2 are true, or 2) cond3 and cond4 are true, or 3) cond5 and cond6 are true. One way of stating this is to say that AND has higher precedence than OR, but if that has no meaning to you, ignore it and just go by the example. AND NOT and OR NOT work in the same way, except the conditions must be false. Thus, for example:
This arrangement will cause the event to occur when the trigger is tripped and 1) cond1 is true and cond2 is false or 2) cond3 is false and cond4 is true or 3) cond5 and cond6 are false. (NOT has a higher precedence than AND and OR.) * Note: The first condition in the list can only be set to AND or AND NOT Hopefully, this short tutorial will be enough to answer all your questions. However, should you require further assistance, be sure to ask your fellow map makers by posting your question in the Scenario Design Forum. |
Headlines » AoW1 Summer 2008 Mapmaking Tournament » A new PBEM Singles Champion is crowned - Swolte!! Poll Age of Wonders Looking for info about the original AoW? HeavenGames Sites » Caesar 3 » Caesar 4 » Pharaoh » Zeus |
|
Age of Wonders II™ is a game by Triumph Studios and published by Gathering of Developers. Age of Wonders II Heaven Copyright © 1997-2004 HeavenGames LLC. All Rights Reserved. Written permission is required if you want to use any materials published on this website for use on your own website, in its original form, or translated into other languages. |