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