Age of Wonders II Heaven Julia with Gameplay background
Scenario Design

SHADOW MAGIC SCRIPTING
Quick Reference Manual

Triggers
by J. Osborne
edited and updated by Talon-Thorn

Events | Triggers | Conditions

Triggers define the circumstances that cause events to occur during the course of a scenario.


Contact Player
Counter Change*
Diplomatic Action*
Enter Area
Explore Structure*
Flag Structure
Game Over*
Gold Reached
Interface Click*
Kill Unit
Mana Reached
New Turn
Pickup Item
Quest
Raze Structure
Rebuild Structure
Request Reply*
Timer*
Tutorial Event**

* New trigger     ** Old trigger no longer available (see notes)

Contact Player

  • Players = List of wizards that can do the contacting.
  • ViewingPlayer = The wizard being contacted.

Return to Top

Counter Change
  • CounterID = The ID of the counter.
  • CounterMin = Min-range value for counter to set off trigger.
  • CounterMin = Max-range value for counter to set off trigger.

Return to Top

Diplomatic Action
  • PlayerFrom = Player from which the action originated.
  • PlayerTo = Player to which the action was directed.
  • Action = Type of diplomatic action performed: War, Peace, Alliance.

Return to Top

Enter Area

  • Players = List of wizards that can set off the trigger.
  • XYL = The center point of the area that can be entered.
  • Radius = Number of hexes out from XYL that counts as valid for exploring the area.
  • StopMovement = True or False, a unit stops moving when entering this area.

Return to Top

Explore Structure

  • Players = List of wizards and independents that count when flagging a structure.
  • StructureID = The ID of the structure that needs to be flagged.

Return to Top

Flag Structure

  • Players = List of wizards and independents that count when flagging a structure.
  • StructureID = The ID of the structure that needs to be flagged.

Return to Top

Game Over

  • Players = The players for whom the game is over.

Return to Top

Gold Reached

  • Players = The players who can be checked for gold.
  • GoldMin = Minimum number of gold coins needed to fire this trigger.
  • GoldMax = Maximum number of gold coins needed to fire this trigger.

Return to Top

Interface Click

  • InterfaceControl = Unknnown.

Return to Top

Kill Unit

  • Players = The players who can kill the unit.
  • UnitID = The ID of the dead unit.

Return to Top

Mana Reached

  • Players = The players who can be checked for mana.
  • ManaMin = Minimum number of mana needed to fire this trigger.
  • ManaMax = Maximum number of mana needed to fire this trigger.

Return to Top

New Turn

  • Players = Players who are checked at new turn for this trigger.

Return to Top

Pickup Item

  • Players = Players checked for the pickup of the item.
  • ItemID = The # of the item to be picked up.

Return to Top

Quest

  • Players = The players who can trigger this event.
  • Outcome = Outcome necessary of the quest needed to trigger this event: succeeded, failed, declined.

Return to Top

Raze Structure

  • Players = Who can raze the structure.
  • StructureID = The ID of the structure to raze.

Return to Top

Rebuild Structure (Animate Ruins does not trigger)

  • Players = Who can rebuild the structure.
  • StructureID = The ID of the structure to rebuild.

Return to Top

Request Reply

  • Player = The player who replied to the request.
  • RequestID = The ID of the request.
  • Reply = Yes or No.

Return to Top

Timer

  • TimerID = The ID of the timer that timed out.

Return to Top

Tutorial Event

This is a AoW2:WT trigger which may be imported into AoW:SM.

  • TutorialID = The ID of the tutorial event.

Return to Top

BACK TO SCENARIO DESIGN MAIN MENU

HG Logo

Headlines

» Scenario update

» The making of...

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

» BNW 3.0 Beta is Out!!

» The April Avatars!

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