Register     Password recovery
username Username:
password Password:
Stratagem

Script for map Stratagem

Too confusing? Check out scripting manual
Start a game on this map
View map

<script>
  <setup>
    <action type="copyMetaUnit" basedOn="1" id="10001" name="No attack peasant"/>
    <action type="customizeRuleset" elementId="0">
      <update property="unit.weapon.noOfAttacks" elementId="10001" value="0"/>
      <update property="unit.visionPoints" elementId="10001" value="4"/>
      <update property="unit.defense" elementId="10001" value="0"/>
      <update property="unit.weapon.maxDamage" elementId="10001" value="0"/>
      <update property="unit.weapon.minDamage" elementId="10001" value="0"/>
      <update property="unit.weapon.defendingBonus" elementId="10001" value="0"/>
      <update property="unit.blocks" elementId="10001" unitId="10001" value="1"/>
      <update property="unit.repairs" elementId="10001" value="0"/>
      <update property="building.buildsUnits" elementId="8" unitId="10001" value="0"/>
    </action>
  </setup>
  <trigger name="startGameTrigger" noOfTimesAllowedToInvoke="1">
    <condition type="startGame"/>
    <action type="createUnit" metaUnitId="10001" x="58" y="26" name="" playerOrder="6" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="57" y="28" name="" playerOrder="5" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="58" y="28" name="" playerOrder="1" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="57" y="26" name="" playerOrder="2" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="58" y="27" name="" playerOrder="3" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="56" y="27" name="" playerOrder="4" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="57" y="21" name="" playerOrder="6" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="58" y="21" name="" playerOrder="3" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="57" y="22" name="" playerOrder="2" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="59" y="22" name="" playerOrder="1" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="57" y="23" name="" playerOrder="4" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="58" y="23" name="" playerOrder="5" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="56" y="30" name="" playerOrder="6" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="57" y="30" name="" playerOrder="4" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="55" y="31" name="" playerOrder="2" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="57" y="31" name="" playerOrder="3" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="56" y="32" name="" playerOrder="5" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="57" y="32" name="" playerOrder="1" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="38" y="59" name="" playerOrder="6" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="40" y="58" name="" playerOrder="4" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="38" y="58" name="" playerOrder="2" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="38" y="57" name="" playerOrder="3" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="39" y="59" name="" playerOrder="5" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="39" y="57" name="" playerOrder="1" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="29" y="58" name="" playerOrder="6" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="27" y="57" name="" playerOrder="4" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="28" y="59" name="" playerOrder="2" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="28" y="57" name="" playerOrder="3" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="27" y="58" name="" playerOrder="5" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="27" y="59" name="" playerOrder="1" health="10" vicinity="1"/>
  </trigger>
  <trigger name="startMessage" noOfTimesAllowedToInvoke="6">
    <condition type="turnStarted"/>
    <action type="showDialogue" playerOrder="0">
      <row icon="" name="A message from Sirwhale">"Welcome to Teth...I mean Stragema's Continent. The peasants you begin with cannot cannot attack. You can press control-D to find them all. I hope you enjoy this map; if you do, please add it to your favourites."</row>
    </action>
  </trigger>
</script>