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 III: The Events Conditions Tab

You can define conditions for use in defining an event by going to the "Conditions" tab. The "Conditions" tab is reached by clicking the "Conditions" button (next to the "Main" button) on the "Events" tab. (To return to the "Event Settings" tab, click the "Main" button.)

Very Important Note: You will have to click on "New" to make a condition. Don't be fooled by the look of it - when you first switch to the Conditions tab it will look like a condition is waiting for you to fill in the blanks. There are no default conditions and you can not fill in the blanks in the display until after you have created a new condition. The "New" button is toward the bottom of the "Conditions" tab.

A condition consists of a type and a name. When you create a new condition it will default to the "Area Visible" condition and its name will be set to the default, "Area Visible."

Create a Condition

To create a new event, click the "New" button. Then, select a condition type and change the condition's name to something descriptive. A descriptive name will make it easier to find the condition later when making changes, or for someone else to revise your map events.

Each condition type has additional settings to define the details about the condition. These additional settings vary by condition type, and are displayed just below "Name." A complete list of the various condition types and their detail settings are included at the end of this article, in the Appendix.

The names of all conditions you have defined for the current event are displayed in a list just above the condition settings. Later, when you want to edit or review a condition, click on its name to see its settings.

Note: Conditions defined for one event will not be accessible to another event. Though all conditions will show up in the conditions listing window, only conditions defined specifically for the selected event can be used by that event.

TIP: You cannot cut and paste conditions between events. However, you can cut and paste events which have conditions defined for them, and this will make a complete copy of the event along with conditions defined for it. To make a copy of an event, select the event while on the "Events" tab, press ctrl-c, then ctrl-v. A new event with the exact same settings and same name will be added to the "Events List".

Next, let's look at how to combine conditions with the event script, in Part IV.

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