Age of Wonders II Heaven Julia with Gameplay background

Scenario Design
    Scripting Basics

SHADOW MAGIC SCRIPTING
Scripting Basics

by Talon-Thorn

Events | Triggers | Conditions | Conditions List | Units and Structures | Appendix


Part IV: The Events Main Tab - Conditions List

The Conditions section of the Events Main Tab (labeled "Conditions") allows you to fine-tune the trigger by adding additional conditions that must be true for the event to actually occur.

Note: You have to define a condition to use this section. When you create a new event, it has no default conditions defined for you. You define conditions on the Conditions tab.

After creating and defining a new condition, you'll have to add it to the "Conditions" section to make use of it. You add a condition by setting two fields, a logical operator (AND/OR/AND NOT/OR NOT) and a condition name. (Note: The first condition allows only AND or AND NOT).

You can define up to ten conditions to restrict the occurrence of an event, by setting up a different condition and logic operator in each of the lines numbered 1 through 10. A scroll bar lets you view and setup conditions beyond the first three.

TIP: If you leave a condition blank ( set to "(NONE)"), the blank condition will be ignored but all conditions that follow will still apply.

Each condition 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 more details on how multiple conditions work together in the Events Main Tab conditions list, read about Using Conditions. The Appendix provides a quick reference of all events, triggers, and conditions available, along with links to much more detailed information in the Scripting Manual.

One last topic: how to use specific units and structures in scripts, Part V.

Events | Triggers | Conditions | Conditions List | Units and Structures | Appendix

BACK TO SCENARIO DESIGN MAIN MENU

HG Logo

Headlines

» AoW1 Summer 2008 Mapmaking Tournament

» Interview Kirky Picardo

» Scenario update

» The making of...

» A new PBEM Singles Champion is crowned - Swolte!!

Poll

What unit most resembles you?

Halfling peasant

Undead Vampire

Human Knight

Tigran Prowler

Orcish Warlord

Archon Saint

Dwarven Engineer

Chaos Spawn

Results :: Other Polls

Age of Wonders

Looking for info about the original AoW?
Visit AoW Heaven!

AoWH Logo

HeavenGames Sites

» Main Portal

» Age of Empires

» Age of Empires 3

» Age of Kings

» Age of Mythology

» Age of Wonders

» Age of Wonders 2

» Battle for Middle Earth 2

» Caesar 3

» Caesar 4

» Children of the Nile

» Dungeon Siege

» Empire at War

» Empire Earth

» Emperor: RotMK

» Medieval 2: Total War

» Pharaoh

» Rise & Fall: CaW

» Rise of Legends

» Rise of Nations

» Rome: Total War

» Stronghold

» Stronghold 2

» SW: Galactic Battlegrounds

» Zeus