Order P11 Less Hp
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Wait until ((Life of Nosferatu 0015 <gen>) Less than or equal to 1800.00), checking every 2.00 seconds
Unit - Order Nosferatu 0015 <gen> to Move To (Position of Fountain of Blood 0002 <gen>)
Order P11
Events
Time - Every 35.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 11 (Dark Green)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Picked unit)) Greater than 2500.00
Then - Actions
Set Randomize_human_target = (Random unit from HumanGroup_Unit)
Unit - Order (Picked unit) to Attack-Move To (Position of Randomize_human_target)
Else - Actions
Do nothing
Alliances and Vamp Spawn
Events
Unit - A unit Dies
Conditions
((Owner of (Dying unit)) is in HumanGroup) Equal to True
(Unit-type of (Dying unit)) Equal to Human
((Dying unit) is Summoned) Equal to False
((Dying unit) is an illusion) Equal to False
Actions
Set HumanCount = (HumanCount - 1)
Set Ownerofdying[(Player number of (Owner of (Dying unit)))] = (Owner of (Dying unit))
Set OwnerofDying_Vampire_Convert[(Player number of (Owner of (Dying unit)))] = (Owner of (Dying unit))
Player - Set Ownerofdying[(Player number of (Owner of (Dying unit)))] Current lumber to 0
Set Vampire_group = (Units owned by (Triggering player))
Unit Group - Pick every unit in Vampire_group and do (Unit - Remove (Picked unit) from the game)
Game - Display to (All players) the text: ((Name of Ownerofdying[(Player number of (Owner of (Dying unit)))]) + has fallen and will now be reborn as a Vampire...)
Dialog - Create a dialog button for Vamp_pick_one[(Player number of (Owner of (Dying unit)))] labelled Death Knight
Set Dialog_buttons[(Player number of (Owner of (Dying unit)))] = (Last created dialog Button)
Dialog - Create a dialog button for Vamp_pick_one[(Player number of (Owner of (Dying unit)))] labelled Dread Lord
Set Dialog_buttons_2[(Player number of (Owner of (Dying unit)))] = (Last created dialog Button)
Dialog - Create a dialog button for Vamp_pick_one[(Player number of (Owner of (Dying unit)))] labelled Ghoul
Set Dialog_buttons_3[(Player number of (Owner of (Dying unit)))] = (Last created dialog Button)
Dialog - Show Vamp_pick_one[(Player number of (Owner of (Dying unit)))] for (Owner of (Dying unit))
Sound - Play HPitLordYes1 <gen>
Player Group - Remove Ownerofdying[(Player number of (Owner of (Dying unit)))] from HumanGroup
Player Group - Add Ownerofdying[(Player number of (Owner of (Dying unit)))] to NosferatuGroup
Set Number_Spawn[(Player number of (Owner of (Dying unit)))] = (Player number of (Owner of (Dying unit)))
Player - Make (Owner of (Dying unit)) treat Neutral Hostile as an Enemy
Player - Make Neutral Hostile treat (Owner of (Dying unit)) as an Enemy
Custom script: call DestroyGroup(udg_Vampire_group)
Wait 0.25 game-time seconds
Visibility - Create an initially Disabled visibility modifier for (Owner of (Dying unit)) emitting Black mask across Vampire Spawn Area <gen>
Visibility - Create an initially Disabled visibility modifier for (Owner of (Dying unit)) emitting Fog of war across Vampire Spawn Area <gen>
Visibility - Create an initially Enabled visibility modifier for (Owner of (Dying unit)) emitting Visibility across Vampire Spawn Area <gen>
Order P11 Less Hp
Events
Time - Every 2 seconds of game time
Conditions
(Life of Nosferatu 0015 <gen>) Less than or equal to 1800.00)
Actions
set TempLoc = (Position of Fountain of Blood 0002 <gen>)
Unit - Order Nosferatu 0015 <gen> to Move To TempLoc
CustomScript: call RemoveLocation(udg_TempLoc)
Order P11 Less Hp
Events
Unit - Nosferatu 0015 <gen>'s life becomes less than 1800.00
Conditions
Actions
set TempLoc = (Position of Fountain of Blood 0002 <gen>)
Unit - Order Nosferatu 0015 <gen> to Move To TempLoc
CustomScript: call RemoveLocation(udg_TempLoc)
Order P11
Events
Time - Every 35.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 11 (Dark Green)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Picked unit)) Greater than 2500.00
Then - Actions
Set Randomize_human_target = (Random unit from HumanGroup_Unit)
Unit - Order (Picked unit) to Attack-Move To (Position of Randomize_human_target)
Else - Actions
Do nothing