Age of Wonders II Heaven Julia with Gameplay background

Scenario Design

Using Scripts to Make An "Altar of Storms"

Posted by: Magog (07-28-2002) on the AOW2 Scenario Forum

This is how you create something similar to the altars in AoW1. It casts a storm in a given area when you enter a certain hex, but only once per turn. As an altar, you can use anything (like a sign that says "This is an altar".)

Event 1

Type: Control flag
Activate: Always
FlagID: 1
Activate: True
Trigger: New turn

Event 2

Type: Control flag
Activate: Always
FlagID: 1 (Yes the same flagID!!)
Activate: False
Trigger: Enter Area (set the area to the hex with the "altar")

Event 3

Type: Storm
Activate: Always
(Set the other things like target hex and range)
Trigger: Enter area (set the are to the hex with the "altar")
Conditions: Flagged



Then select "conditions", add a new condition called "Flagged" and use FlagID 1.

That's it! The flag turns "True" on each new turn (Event 1), and the storm goes off when entering the area with the altar. But when entering that area, the flag also turns "False" (Event 2), and it won't turn "True" until the next turn when Event 1 kicks in again.


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