Age of Wonders II Heaven Julia with Gameplay background
Scenario Design

SHADOW MAGIC SCRIPTING
Quick Reference Manual

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

Events | Triggers | Conditions

Conditions limit the occurrence of triggered events.


All Allied*
Area Visible
Counter*
Day
Diplomatic Relation
Flagged
Game Over*
Gold
Item In Area
Item Owned
Mana
Player Type*
Random
Structure Flagged*
Structure Owned**
Structure Razed
Unit In Area
Unit Killed
Unit Visible*

* New condition     **AoW2:WT condition no longer available (see notes)

Area Visible

  • Players = Player(s) who has(ve) the area visible.
  • XYL = Center point of the location that needs to be visible.
  • Radius = How many hexes out from XYL. Counts as valid visible area.

Return to Top

Counter

  • CounterID = The ID of the counter.
  • CounterMin = Minimum value that counter can be.
  • CounterMax = Maximum value that counter can be.

Return to Top

Day

  • DayMin = Minimum day (turn) that the game must be at.
  • DayMax = Maximum day (turn) that the game must be at.

Return to Top

Diplomatic Relation

  • PlayerA = One of the wizards
  • PlayerB = The other wizard
  • Relations = What are the possible relations that can make this condition pass.

Return to Top

Flagged

  • FlagID = The ID of the flag to check and see if it's value is true.

Return to Top

Game Over

  • Player = Player to check.

Return to Top

Gold

  • Players = Players to check.
  • GoldMin = Minimum amount of gold.
  • GoldMax = Maximum amount of gold.

Return to Top

Item In Area

  • XYL = The center location to search from.
  • Radius = Number of hexes to look for the item from XYL.
  • ItemID = The ID of the item to check for within radius of XYL.

Return to Top

Item Owned

  • Players = Who can own the item.
  • ItemID = The ID of the item that must be owned by one of the players.

Return to Top

Mana

  • Players = Players to check.
  • ManaMin = Minimum amount of mana necessary.
  • ManaMax = Maximum amount of mana necessary.

Return to Top

Player Type

  • Player = Player to check.
  • PlayerTypes = Types player can be: Human, Peasant, Warrior, Knight, Lord, King, Emperor.

Return to Top

Random

  • Percentage = 1 through 100 percentage chance that this condition will be met.

Return to Top

Structure Flagged

  • Players = Who can be the owner of the structure.
  • StructureID = The ID of the structure to be owned.

Return to Top

Structure Owned

Name of the AoW2:WT condition; imported as "Structure Flagged" into AoW:SM.

Return to Top

Structure Razed

  • StructureID = The ID of the structure that is razed.

Return to Top

Unit In Area

  • XYL = The center point of the area.
  • Radius = Number of hexes from XYL that is a valid area.

Return to Top

Unit Killed

  • UnitID = The ID of the unit to check for being killed.

Return to Top

Unit Visible

  • Players = Players who must see the unit.
  • UnitID = The ID of the unit that must be seen.

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]