Age of Wonders II Heaven Julia with Gameplay background

Scenario Design

Using A Storm Event To Guard A Territory of Self and Allies

Posted by: Myrmidon (10-10-2002) on the AOW2 Scenario Forum

Say you have a Lightning Storm event on a bridge, guarding Blue Wizard’s territory. It is a simple matter to make sure that Blue Wizard’s own units don’t trigger it by leaving Blue Wizard off the Trigger list.

I was thinking though… What if I want forces that are on peaceful terms or allied with Blue Wizard to be able to pass the bridge without getting dancing the electricity jig? So I set up a series of Control Flags that keep track of Diplomatic Relations each turn.

Like this…

Event: Control Flag – (Name it something like “D.R. - BvsR” – Blue vs. Red Diplomatic Relations)
Activate: Always
FlagID: (Start with 1)
Active: True
Trigger: New Turn
Create Condition: Diplomatic Relations – (Name it “Red Wizard”)
Player A: Blue Wizard
Player B: Red Wizard
Relations: Set Peace and Allied to True
Conditions: AND – “Red Wizard”
(You can Copy/Paste the Event and change the “Name”, “FlagID” and “Player B” for each new Wizard.)

Now create the Lightning Storm Event.

Event: Storm – (Name this one “Red Wizard Storm”)
Activate: Always
XYL: (#,#,#)
StormType: stLightning
RandomRange: 0
Players: (Chose “Red Wizard”)
Trigger: Enter Area
Players: (Chose “Red Wizard”)
XYL: (Bridge Coordinates)
Radius: 0
StopMovement: True
Create Condition: Flagged – (Name it “Red Wizard”)
FlagID: (Start with 1)
Conditions: AND NOT – “Red Wizard”
(Copy/Paste – Change “Name”, “Players”, Condition “Name”, and “FlagID” for each remaining Wizard.)

Note: You can, instead, make it simpler by creating a Diplomatic Relations Condition in the Lightning Storm event for each Wizard besides Blue. In that case, create the Conditions in the Conditions Tab and set “Player B” to each individual Wizard. If you do it this way, you only need to set up one Lightning Storm event.

Why do I bother creating the Control Flags in the first place then? Because I have found that I can make very good use of the same Control Flags in many other events, with a greater degree of control in how they are put to use.

Hope this was helpful to some of you.


Back to Event Scripting Resource Database Menu


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