Code:
Vampires Spawn
Events
Time - Elapsed game time is 60.00 seconds
Conditions
Actions
Unit Group - Pick every unit in HumanGroup and do (Actions)
Loop - Actions
Sound - Play rock <gen>
Sound - Set volume of (Last played sound) to 100.00%
Camera - Pan camera for (Owner Of(Picked Unit)) to (Center of Vampire Spawn area <gen>) over 1.00 seconds
Visibility - Create an initially Disabled visibility modifier for (Owner Of(Picked Unit)) emitting Visibility across Vampire Spawn area <gen>
Camera - Shake the camera for (Owner Of(Picked Unit)) with magnitude 3.00
Camera - Stop swaying/shaking the camera for (Owner Of(Picked Unit))
Destructible - Remove Portal to Hell 0000 <gen>
Unit - Remove Dark Summoner 0018 <gen> from the game
Unit - Remove Dark Summoner 0017 <gen> from the game
Special Effect - Create a special effect at (Center of Vampire Spawn area <gen>) using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
For each (Integer B) from 11 to 12, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player((Integer B))) slot status) Equal to Is playing
Then - Actions
Unit - Create 1 Nosferatu for (Player((Integer B))) at (Center of (Playable map area)) facing Default building facing degrees
Unit Group - Add (Last created unit) to VampireGroup
Player - Add 20 to (Owner of(last created Unit))Current gold
Else - Actions
Game - Display to (All players) for 5.00 seconds the text: The Vampires have s...
Trigger - Run Vampire Skins <gen> (checking conditions)
Unit Group - Pick every unit in HumanGroup and do (Actions)
Loop - Actions
Visibility - Destroy (Last created visibility modifier)
Camera - Reset camera for (Owner of(Picked Unit)) to standard game-view over 1.00 seconds
Sound - Destroy (Last played sound)
Turn off (This Trigger)