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

» The Patch is Here!!!

» The first reviews are in

» Hey Kids! What time is it?

» AoW 3 Release Info - Update

» AoW III - Preorders announced

Poll

I am currently more a...

Player

Mapmaker

Modder

Player and Mapmaker

Player and Modder

Mapmaker and Modder

All three

Visitor

Results :: Other Polls

Age of Wonders

Looking for info about the original AoW?
Visit AoW Heaven!

AoWH Logo

HeavenGames Sites

[an error occurred while processing this directive]