[trigger=]
Events
Time - AngryBirdsTimer expires
Conditions
Actions
For each (Integer AngryBirdLoop) from 1 to AngryBirdIndex, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBirdCaster[AngryBirdLoop] Equal to No unit
Or - Any (Conditions) are true
Conditions
AngryBird1[AngryBirdLoop] Not equal to No unit
AngryBird2[AngryBirdLoop] Not equal to No unit
AngryBird3[AngryBirdLoop] Not equal to No unit
AngryBird4[AngryBirdLoop] Not equal to No unit
AngryBirdTarget1[AngryBirdLoop] Not equal to No unit
AngryBirdTarget2[AngryBirdLoop] Not equal to No unit
AngryBirdTarget3[AngryBirdLoop] Not equal to No unit
AngryBirdTarget4[AngryBirdLoop] Not equal to No unit
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird1[AngryBirdLoop] Not equal to No unit
Then - Actions
Unit - Kill AngryBird1[AngryBirdLoop]
Set AngryBird1[AngryBirdLoop] = AngryBird1[AngryBirdIndex]
Set AngryBird1[AngryBirdIndex] = No unit
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird2[AngryBirdLoop] Not equal to No unit
Then - Actions
Unit - Kill AngryBird2[AngryBirdLoop]
Set AngryBird2[AngryBirdLoop] = AngryBird2[AngryBirdIndex]
Set AngryBird2[AngryBirdIndex] = No unit
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird3[AngryBirdLoop] Not equal to No unit
Then - Actions
Unit - Kill AngryBird3[AngryBirdLoop]
Set AngryBird3[AngryBirdLoop] = AngryBird3[AngryBirdIndex]
Set AngryBird3[AngryBirdIndex] = No unit
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird4[AngryBirdLoop] Not equal to No unit
Then - Actions
Unit - Kill AngryBird4[AngryBirdLoop]
Set AngryBird4[AngryBirdLoop] = AngryBird4[AngryBirdIndex]
Set AngryBird4[AngryBirdIndex] = No unit
Else - Actions
Set AngryBirdCaster[AngryBirdLoop] = AngryBirdCaster[AngryBirdIndex]
Set AngryBirdCaster[AngryBirdIndex] = No unit
Set AngryBirdIndex = (AngryBirdIndex - 1)
Set AngryBirdLoop = (AngryBirdLoop - 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(AngryBirdCaster[AngryBirdLoop] is dead) Not equal to True
AngryBirdDiedOnce[AngryBirdLoop] Equal to True
Then - Actions
Set AngryBirdp = (Position of AngryBirdCaster[AngryBirdLoop])
Unit - Move AngryBird1[AngryBirdLoop] instantly to AngryBirdp
Unit - Move AngryBird2[AngryBirdLoop] instantly to AngryBirdp
Unit - Move AngryBird3[AngryBirdLoop] instantly to AngryBirdp
Unit - Move AngryBird4[AngryBirdLoop] instantly to AngryBirdp
Custom script: call RemoveLocation(udg_AngryBirdp)
Set AngryBirdDiedOnce[AngryBirdLoop] = False
Animation - Change AngryBird1[AngryBirdLoop]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Animation - Change AngryBird2[AngryBirdLoop]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Animation - Change AngryBird3[AngryBirdLoop]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Animation - Change AngryBird4[AngryBirdLoop]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Unit - Add AngryBirdDetectAbility to AngryBird1[AngryBirdLoop]
Unit - Add AngryBirdDetectAbility to AngryBird2[AngryBirdLoop]
Unit - Add AngryBirdDetectAbility to AngryBird3[AngryBirdLoop]
Unit - Add AngryBirdDetectAbility to AngryBird4[AngryBirdLoop]
Unit Group - Remove AngryBird1[AngryBirdLoop] from AngryBirdRunningGroup
Unit Group - Remove AngryBird2[AngryBirdLoop] from AngryBirdRunningGroup
Unit Group - Remove AngryBird3[AngryBirdLoop] from AngryBirdRunningGroup
Unit Group - Remove AngryBird4[AngryBirdLoop] from AngryBirdRunningGroup
Set AngryBird4AmountOfHits[AngryBirdLoop] = 0
Set AngryBird1Rotation[AngryBirdLoop] = 90.00
Set AngryBird2Rotation[AngryBirdLoop] = 180.00
Set AngryBird3Rotation[AngryBirdLoop] = 270.00
Set AngryBird4Rotation[AngryBirdLoop] = 360.00
Set AngryBird1CooldownToHit[AngryBirdLoop] = 0.00
Set AngryBird2CooldownToHit[AngryBirdLoop] = 0.00
Set AngryBird3CooldownToHit[AngryBirdLoop] = 0.00
Set AngryBird4CooldownToHit[AngryBirdLoop] = 0.00
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(AngryBirdCaster[AngryBirdLoop] is dead) Equal to True
Then - Actions
Set AngryBirdDiedOnce[AngryBirdLoop] = True
Set AngryBirdHitInProgress1[AngryBirdLoop] = False
Set AngryBirdRecall1[AngryBirdLoop] = False
Set AngryBirdHitInProgress2[AngryBirdLoop] = False
Set AngryBirdRecall2[AngryBirdLoop] = False
Set AngryBirdHitInProgress3[AngryBirdLoop] = False
Set AngryBirdRecall3[AngryBirdLoop] = False
Set AngryBirdHitInProgress4[AngryBirdLoop] = False
Set AngryBirdRecall4[AngryBirdLoop] = False
Unit - Remove Angry Birds buff from AngryBirdTarget1[AngryBirdLoop]
Unit - Remove Angry Birds buff from AngryBirdTarget2[AngryBirdLoop]
Unit - Remove Angry Birds buff from AngryBirdTarget3[AngryBirdLoop]
Unit - Remove Angry Birds buff from AngryBirdTarget4[AngryBirdLoop]
Unit - Remove TargetDetector from AngryBird1[AngryBirdLoop]
Unit - Remove TargetDetector from AngryBird2[AngryBirdLoop]
Unit - Remove TargetDetector from AngryBird3[AngryBirdLoop]
Unit - Remove TargetDetector from AngryBird4[AngryBirdLoop]
Set AngryBirdTarget1[AngryBirdLoop] = No unit
Set AngryBirdTarget2[AngryBirdLoop] = No unit
Set AngryBirdTarget3[AngryBirdLoop] = No unit
Set AngryBirdTarget4[AngryBirdLoop] = No unit
Animation - Change AngryBird1[AngryBirdLoop]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
Animation - Change AngryBird2[AngryBirdLoop]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
Animation - Change AngryBird3[AngryBirdLoop]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
Animation - Change AngryBird4[AngryBirdLoop]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
Animation - Change AngryBird1[AngryBirdLoop] flying height to (Default flying height of AngryBird1[AngryBirdLoop]) at 0.00
Animation - Change AngryBird2[AngryBirdLoop] flying height to (Default flying height of AngryBird2[AngryBirdLoop]) at 0.00
Animation - Change AngryBird3[AngryBirdLoop] flying height to (Default flying height of AngryBird3[AngryBirdLoop]) at 0.00
Animation - Change AngryBird4[AngryBirdLoop] flying height to (Default flying height of AngryBird4[AngryBirdLoop]) at 0.00
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBirdDiedOnce[AngryBirdLoop] Equal to False
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird1[AngryBirdLoop] Not equal to No unit
AngryBirdHitInProgress1[AngryBirdLoop] Equal to False
AngryBirdRecall1[AngryBirdLoop] Equal to False
Then - Actions
Set AngryBirdp = (Position of AngryBirdCaster[AngryBirdLoop])
Set AngryBird1Rotation[AngryBirdLoop] = (AngryBird1Rotation[AngryBirdLoop] + AngryBirdAuraRotateSpeed)
Set AngryBirdp2 = (AngryBirdp offset by AngryBirdDistFromHero towards AngryBird1Rotation[AngryBirdLoop] degrees)
Unit - Move AngryBird1[AngryBirdLoop] instantly to AngryBirdp2
Unit - Make AngryBird1[AngryBirdLoop] face AngryBird1Rotation[AngryBirdLoop] over AngryBirdsTurningSpeed seconds
Custom script: call RemoveLocation(udg_AngryBirdp2)
Custom script: call RemoveLocation(udg_AngryBirdp)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(AngryBirdTarget1[AngryBirdLoop] is dead) Equal to True
Then - Actions
Set AngryBird1AmountOfHits[AngryBirdLoop] = AngryBird1MaxHitAmount[AngryBirdLoop]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBirdHitInProgress1[AngryBirdLoop] Equal to True
AngryBird1AmountOfHits[AngryBirdLoop] Less than AngryBird1MaxHitAmount[AngryBirdLoop]
Then - Actions
Set AngryBirdp = (Position of AngryBird1[AngryBirdLoop])
Set AngryBirdTargetp = (Position of AngryBirdTarget1[AngryBirdLoop])
Set AngryBird1Rotation[AngryBirdLoop] = (Angle from AngryBirdp to AngryBirdTargetp)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird1TimerTilRecall[AngryBirdLoop] Less than or equal to 0.00
Then - Actions
Set AngryBird1AmountOfHits[AngryBirdLoop] = AngryBird1MaxHitAmount[AngryBirdLoop]
Else - Actions
Set AngryBird1TimerTilRecall[AngryBirdLoop] = (AngryBird1TimerTilRecall[AngryBirdLoop] - AngryBirdMinusTimerSpeed)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird1CooldownToHit[AngryBirdLoop] Less than AngryBirdsMaxCooldownToHit
Then - Actions
Set AngryBird1CooldownToHit[AngryBirdLoop] = (AngryBird1CooldownToHit[AngryBirdLoop] + AngryBirdsCooldownSpeed)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between AngryBirdp and AngryBirdTargetp) Greater than AngryBird1DistReqToCollide[AngryBirdLoop]
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird1[AngryBirdLoop]) Less than AngryBirdsMaxHeight
Then - Actions
Animation - Change AngryBird1[AngryBirdLoop] flying height to ((Current flying height of AngryBird1[AngryBirdLoop]) + (AngryBirdFlySpeed / 2.00)) at 0.00
Else - Actions
Set AngryBirdp2 = (AngryBirdp offset by AngryBirdSpeed towards (Facing of AngryBird1[AngryBirdLoop]) degrees)
Unit - Move AngryBird1[AngryBirdLoop] instantly to AngryBirdp2
Unit - Make AngryBird1[AngryBirdLoop] face AngryBird1Rotation[AngryBirdLoop] over AngryBirdsTurningSpeed seconds
Custom script: call RemoveLocation(udg_AngryBirdp2)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird1DistReqToCollide[AngryBirdLoop] Less than AngryBirdMaxCollisionRadius
Then - Actions
Set AngryBird1DistReqToCollide[AngryBirdLoop] = (AngryBird1DistReqToCollide[AngryBirdLoop] + AngryBirdsCollisionSpedBuildup)
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird1[AngryBirdLoop]) Greater than 10.00
AngryBird1CooldownToHit[AngryBirdLoop] Greater than or equal to AngryBirdsMaxCooldownToHit
Then - Actions
Animation - Change AngryBird1[AngryBirdLoop] flying height to ((Current flying height of AngryBird1[AngryBirdLoop]) - AngryBirdFlySpeed) at 0.00
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird1[AngryBirdLoop]) Less than or equal to (AngryBirdsMinHeight + 5.00)
Then - Actions
Set AngryBird1AmountOfHits[AngryBirdLoop] = (AngryBird1AmountOfHits[AngryBirdLoop] + 1)
Special Effect - Create a special effect at AngryBirdp using AngryBirdSFX
Special Effect - Destroy (Last created special effect)
Set AngryBirdCollideGroup = (Units within AngryBirdsCollisionOnImpact of AngryBirdp)
Unit Group - Pick every unit in AngryBirdCollideGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) belongs to an enemy of AngryBirdPlayer[AngryBirdLoop]) Equal to True
Then - Actions
Unit - Cause AngryBirdCaster[AngryBirdLoop] to damage (Picked unit), dealing AngryBirdDMG[AngryBirdLoop] damage of attack type AngryBirdAttackType and damage type AngryBirdDamageType
Else - Actions
Custom script: call DestroyGroup(udg_AngryBirdCollideGroup)
Set AngryBird1CooldownToHit[AngryBirdLoop] = 0.00
Set AngryBird1DistReqToCollide[AngryBirdLoop] = 0.00
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird1[AngryBirdLoop]) Less than AngryBirdsMaxHeight
Then - Actions
Animation - Change AngryBird1[AngryBirdLoop] flying height to ((Current flying height of AngryBird1[AngryBirdLoop]) + AngryBirdFlySpeed) at 0.00
Else - Actions
Custom script: call RemoveLocation(udg_AngryBirdp)
Custom script: call RemoveLocation(udg_AngryBirdTargetp)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBirdRecall1[AngryBirdLoop] Equal to False
Then - Actions
Unit - Remove Angry Birds buff from AngryBirdTarget1[AngryBirdLoop]
Set AngryBirdTarget1[AngryBirdLoop] = No unit
Set AngryBirdHitInProgress1[AngryBirdLoop] = False
Set AngryBirdRecall1[AngryBirdLoop] = True
Else - Actions
Set AngryBirdp = (Position of AngryBird1[AngryBirdLoop])
Set AngryBirdTargetp = (Position of AngryBirdCaster[AngryBirdLoop])
Set AngryBird1Rotation[AngryBirdLoop] = (Angle from AngryBirdp to AngryBirdTargetp)
Set AngryBirdp2 = (AngryBirdp offset by AngryBirdSpeed towards (Facing of AngryBird1[AngryBirdLoop]) degrees)
Unit - Move AngryBird1[AngryBirdLoop] instantly to AngryBirdp2
Unit - Make AngryBird1[AngryBirdLoop] face AngryBird1Rotation[AngryBirdLoop] over AngryBirdsTurningSpeed seconds
Custom script: call RemoveLocation(udg_AngryBirdp2)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between AngryBirdp and AngryBirdTargetp) Greater than (AngryBirdsReturnRadius x 2.00)
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird1[AngryBirdLoop]) Less than (AngryBirdsMaxHeight - 200.00)
Then - Actions
Animation - Change AngryBird1[AngryBirdLoop] flying height to ((Current flying height of AngryBird1[AngryBirdLoop]) + AngryBirdFlySpeed) at 0.00
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird1[AngryBirdLoop]) Less than or equal to AngryBirdsMinHeight
(Distance between AngryBirdp and AngryBirdTargetp) Less than AngryBirdsReturnRadius
Then - Actions
Set AngryBird1TimerTilRecall[AngryBirdLoop] = AngryBird1OriginalRecall[AngryBirdLoop]
Animation - Change AngryBird1[AngryBirdLoop] flying height to (Default flying height of AngryBird1[AngryBirdLoop]) at 0.00
Unit Group - Remove AngryBird1[AngryBirdLoop] from AngryBirdRunningGroup
Set AngryBird1AmountOfHits[AngryBirdLoop] = 0
Set AngryBirdRecall1[AngryBirdLoop] = False
Unit - Add AngryBirdDetectAbility to AngryBird1[AngryBirdLoop]
Set AngryBird1Rotation[AngryBirdLoop] = 90.00
Set AngryBird2Rotation[AngryBirdLoop] = 180.00
Set AngryBird3Rotation[AngryBirdLoop] = 270.00
Set AngryBird4Rotation[AngryBirdLoop] = 360.00
Else - Actions
Animation - Change AngryBird1[AngryBirdLoop] flying height to ((Current flying height of AngryBird1[AngryBirdLoop]) - AngryBirdFlySpeed) at 0.00
Custom script: call RemoveLocation(udg_AngryBirdp)
Custom script: call RemoveLocation(udg_AngryBirdTargetp)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird2[AngryBirdLoop] Not equal to No unit
AngryBirdHitInProgress2[AngryBirdLoop] Equal to False
AngryBirdRecall2[AngryBirdLoop] Equal to False
Then - Actions
Set AngryBirdp = (Position of AngryBirdCaster[AngryBirdLoop])
Set AngryBird2Rotation[AngryBirdLoop] = (AngryBird2Rotation[AngryBirdLoop] + AngryBirdAuraRotateSpeed)
Set AngryBirdp2 = (AngryBirdp offset by AngryBirdDistFromHero towards AngryBird2Rotation[AngryBirdLoop] degrees)
Unit - Move AngryBird2[AngryBirdLoop] instantly to AngryBirdp2
Unit - Make AngryBird2[AngryBirdLoop] face AngryBird2Rotation[AngryBirdLoop] over AngryBirdsTurningSpeed seconds
Custom script: call RemoveLocation(udg_AngryBirdp2)
Custom script: call RemoveLocation(udg_AngryBirdp)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(AngryBirdTarget2[AngryBirdLoop] is dead) Equal to True
Then - Actions
Set AngryBird2AmountOfHits[AngryBirdLoop] = AngryBird2MaxHitAmount[AngryBirdLoop]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBirdHitInProgress2[AngryBirdLoop] Equal to True
AngryBird2AmountOfHits[AngryBirdLoop] Less than AngryBird2MaxHitAmount[AngryBirdLoop]
Then - Actions
Set AngryBirdp = (Position of AngryBird2[AngryBirdLoop])
Set AngryBirdTargetp = (Position of AngryBirdTarget2[AngryBirdLoop])
Set AngryBird2Rotation[AngryBirdLoop] = (Angle from AngryBirdp to AngryBirdTargetp)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird2TimerTilRecall[AngryBirdLoop] Less than or equal to 0.00
Then - Actions
Set AngryBird2AmountOfHits[AngryBirdLoop] = AngryBird2MaxHitAmount[AngryBirdLoop]
Else - Actions
Set AngryBird2TimerTilRecall[AngryBirdLoop] = (AngryBird2TimerTilRecall[AngryBirdLoop] - AngryBirdMinusTimerSpeed)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird2CooldownToHit[AngryBirdLoop] Less than AngryBirdsMaxCooldownToHit
Then - Actions
Set AngryBird2CooldownToHit[AngryBirdLoop] = (AngryBird2CooldownToHit[AngryBirdLoop] + AngryBirdsCooldownSpeed)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between AngryBirdp and AngryBirdTargetp) Greater than AngryBird2DistReqToCollide[AngryBirdLoop]
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird2[AngryBirdLoop]) Less than AngryBirdsMaxHeight
Then - Actions
Animation - Change AngryBird2[AngryBirdLoop] flying height to ((Current flying height of AngryBird2[AngryBirdLoop]) + (AngryBirdFlySpeed / 2.00)) at 0.00
Else - Actions
Set AngryBirdp2 = (AngryBirdp offset by AngryBirdSpeed towards (Facing of AngryBird2[AngryBirdLoop]) degrees)
Unit - Move AngryBird2[AngryBirdLoop] instantly to AngryBirdp2
Unit - Make AngryBird2[AngryBirdLoop] face AngryBird2Rotation[AngryBirdLoop] over AngryBirdsTurningSpeed seconds
Custom script: call RemoveLocation(udg_AngryBirdp2)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird2DistReqToCollide[AngryBirdLoop] Less than AngryBirdMaxCollisionRadius
Then - Actions
Set AngryBird2DistReqToCollide[AngryBirdLoop] = (AngryBird2DistReqToCollide[AngryBirdLoop] + AngryBirdsCollisionSpedBuildup)
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird2[AngryBirdLoop]) Greater than 10.00
AngryBird2CooldownToHit[AngryBirdLoop] Greater than or equal to AngryBirdsMaxCooldownToHit
Then - Actions
Animation - Change AngryBird2[AngryBirdLoop] flying height to ((Current flying height of AngryBird2[AngryBirdLoop]) - AngryBirdFlySpeed) at 0.00
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird2[AngryBirdLoop]) Less than or equal to (AngryBirdsMinHeight + 5.00)
Then - Actions
Set AngryBird2AmountOfHits[AngryBirdLoop] = (AngryBird2AmountOfHits[AngryBirdLoop] + 1)
Special Effect - Create a special effect at AngryBirdp using AngryBirdSFX
Special Effect - Destroy (Last created special effect)
Set AngryBirdCollideGroup = (Units within AngryBirdsCollisionOnImpact of AngryBirdp)
Unit Group - Pick every unit in AngryBirdCollideGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) belongs to an enemy of AngryBirdPlayer[AngryBirdLoop]) Equal to True
Then - Actions
Unit - Cause AngryBirdCaster[AngryBirdLoop] to damage (Picked unit), dealing AngryBirdDMG[AngryBirdLoop] damage of attack type AngryBirdAttackType and damage type AngryBirdDamageType
Else - Actions
Custom script: call DestroyGroup(udg_AngryBirdCollideGroup)
Set AngryBird2CooldownToHit[AngryBirdLoop] = 0.00
Set AngryBird2DistReqToCollide[AngryBirdLoop] = 0.00
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird2[AngryBirdLoop]) Less than AngryBirdsMaxHeight
Then - Actions
Animation - Change AngryBird2[AngryBirdLoop] flying height to ((Current flying height of AngryBird2[AngryBirdLoop]) + AngryBirdFlySpeed) at 0.00
Else - Actions
Custom script: call RemoveLocation(udg_AngryBirdp)
Custom script: call RemoveLocation(udg_AngryBirdTargetp)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBirdRecall2[AngryBirdLoop] Equal to False
Then - Actions
Unit - Remove Angry Birds buff from AngryBirdTarget2[AngryBirdLoop]
Set AngryBirdTarget2[AngryBirdLoop] = No unit
Set AngryBirdHitInProgress2[AngryBirdLoop] = False
Set AngryBirdRecall2[AngryBirdLoop] = True
Else - Actions
Set AngryBirdp = (Position of AngryBird2[AngryBirdLoop])
Set AngryBirdTargetp = (Position of AngryBirdCaster[AngryBirdLoop])
Set AngryBird2Rotation[AngryBirdLoop] = (Angle from AngryBirdp to AngryBirdTargetp)
Set AngryBirdp2 = (AngryBirdp offset by AngryBirdSpeed towards (Facing of AngryBird2[AngryBirdLoop]) degrees)
Unit - Move AngryBird2[AngryBirdLoop] instantly to AngryBirdp2
Unit - Make AngryBird2[AngryBirdLoop] face AngryBird2Rotation[AngryBirdLoop] over AngryBirdsTurningSpeed seconds
Custom script: call RemoveLocation(udg_AngryBirdp2)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between AngryBirdp and AngryBirdTargetp) Greater than (AngryBirdsReturnRadius x 2.00)
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird2[AngryBirdLoop]) Less than (AngryBirdsMaxHeight - 200.00)
Then - Actions
Animation - Change AngryBird2[AngryBirdLoop] flying height to ((Current flying height of AngryBird2[AngryBirdLoop]) + AngryBirdFlySpeed) at 0.00
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird2[AngryBirdLoop]) Less than or equal to AngryBirdsMinHeight
(Distance between AngryBirdp and AngryBirdTargetp) Less than AngryBirdsReturnRadius
Then - Actions
Set AngryBird2TimerTilRecall[AngryBirdLoop] = AngryBird2OriginalRecall[AngryBirdLoop]
Animation - Change AngryBird2[AngryBirdLoop] flying height to (Default flying height of AngryBird2[AngryBirdLoop]) at 0.00
Unit Group - Remove AngryBird2[AngryBirdLoop] from AngryBirdRunningGroup
Set AngryBird2AmountOfHits[AngryBirdLoop] = 0
Set AngryBirdRecall2[AngryBirdLoop] = False
Unit - Add AngryBirdDetectAbility to AngryBird2[AngryBirdLoop]
Set AngryBird1Rotation[AngryBirdLoop] = 90.00
Set AngryBird2Rotation[AngryBirdLoop] = 180.00
Set AngryBird3Rotation[AngryBirdLoop] = 270.00
Set AngryBird4Rotation[AngryBirdLoop] = 360.00
Else - Actions
Animation - Change AngryBird2[AngryBirdLoop] flying height to ((Current flying height of AngryBird2[AngryBirdLoop]) - AngryBirdFlySpeed) at 0.00
Custom script: call RemoveLocation(udg_AngryBirdp)
Custom script: call RemoveLocation(udg_AngryBirdTargetp)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird3[AngryBirdLoop] Not equal to No unit
AngryBirdHitInProgress3[AngryBirdLoop] Equal to False
AngryBirdRecall3[AngryBirdLoop] Equal to False
Then - Actions
Set AngryBirdp = (Position of AngryBirdCaster[AngryBirdLoop])
Set AngryBird3Rotation[AngryBirdLoop] = (AngryBird3Rotation[AngryBirdLoop] + AngryBirdAuraRotateSpeed)
Set AngryBirdp2 = (AngryBirdp offset by AngryBirdDistFromHero towards AngryBird3Rotation[AngryBirdLoop] degrees)
Unit - Move AngryBird3[AngryBirdLoop] instantly to AngryBirdp2
Unit - Make AngryBird3[AngryBirdLoop] face AngryBird3Rotation[AngryBirdLoop] over 0.00 seconds
Custom script: call RemoveLocation(udg_AngryBirdp2)
Custom script: call RemoveLocation(udg_AngryBirdp)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(AngryBirdTarget3[AngryBirdLoop] is dead) Equal to True
Then - Actions
Set AngryBird3AmountOfHits[AngryBirdLoop] = AngryBird3MaxHitAmount[AngryBirdLoop]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBirdHitInProgress3[AngryBirdLoop] Equal to True
AngryBird3AmountOfHits[AngryBirdLoop] Less than AngryBird3MaxHitAmount[AngryBirdLoop]
Then - Actions
Set AngryBirdp = (Position of AngryBird3[AngryBirdLoop])
Set AngryBirdTargetp = (Position of AngryBirdTarget3[AngryBirdLoop])
Set AngryBird3Rotation[AngryBirdLoop] = (Angle from AngryBirdp to AngryBirdTargetp)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird3TimerTilRecall[AngryBirdLoop] Less than or equal to 0.00
Then - Actions
Set AngryBird3AmountOfHits[AngryBirdLoop] = AngryBird3MaxHitAmount[AngryBirdLoop]
Else - Actions
Set AngryBird3TimerTilRecall[AngryBirdLoop] = (AngryBird3TimerTilRecall[AngryBirdLoop] - AngryBirdMinusTimerSpeed)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird3CooldownToHit[AngryBirdLoop] Less than AngryBirdsMaxCooldownToHit
Then - Actions
Set AngryBird3CooldownToHit[AngryBirdLoop] = (AngryBird3CooldownToHit[AngryBirdLoop] + AngryBirdsCooldownSpeed)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between AngryBirdp and AngryBirdTargetp) Greater than AngryBird3DistReqToCollide[AngryBirdLoop]
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird3[AngryBirdLoop]) Less than AngryBirdsMaxHeight
Then - Actions
Animation - Change AngryBird3[AngryBirdLoop] flying height to ((Current flying height of AngryBird3[AngryBirdLoop]) + (AngryBirdFlySpeed / 2.00)) at 0.00
Else - Actions
Set AngryBirdp2 = (AngryBirdp offset by AngryBirdSpeed towards (Facing of AngryBird3[AngryBirdLoop]) degrees)
Unit - Move AngryBird3[AngryBirdLoop] instantly to AngryBirdp2
Unit - Make AngryBird3[AngryBirdLoop] face AngryBird3Rotation[AngryBirdLoop] over AngryBirdsTurningSpeed seconds
Custom script: call RemoveLocation(udg_AngryBirdp2)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird3DistReqToCollide[AngryBirdLoop] Less than AngryBirdMaxCollisionRadius
Then - Actions
Set AngryBird3DistReqToCollide[AngryBirdLoop] = (AngryBird3DistReqToCollide[AngryBirdLoop] + AngryBirdsCollisionSpedBuildup)
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird3[AngryBirdLoop]) Greater than 10.00
AngryBird3CooldownToHit[AngryBirdLoop] Greater than or equal to AngryBirdsMaxCooldownToHit
Then - Actions
Animation - Change AngryBird3[AngryBirdLoop] flying height to ((Current flying height of AngryBird3[AngryBirdLoop]) - AngryBirdFlySpeed) at 0.00
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird3[AngryBirdLoop]) Less than or equal to (AngryBirdsMinHeight + 5.00)
Then - Actions
Set AngryBird3AmountOfHits[AngryBirdLoop] = (AngryBird3AmountOfHits[AngryBirdLoop] + 1)
Special Effect - Create a special effect at AngryBirdp using AngryBirdSFX
Special Effect - Destroy (Last created special effect)
Set AngryBirdCollideGroup = (Units within AngryBirdsCollisionOnImpact of AngryBirdp)
Unit Group - Pick every unit in AngryBirdCollideGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) belongs to an enemy of AngryBirdPlayer[AngryBirdLoop]) Equal to True
Then - Actions
Unit - Cause AngryBirdCaster[AngryBirdLoop] to damage (Picked unit), dealing AngryBirdDMG[AngryBirdLoop] damage of attack type AngryBirdAttackType and damage type AngryBirdDamageType
Else - Actions
Custom script: call DestroyGroup(udg_AngryBirdCollideGroup)
Set AngryBird3CooldownToHit[AngryBirdLoop] = 0.00
Set AngryBird3DistReqToCollide[AngryBirdLoop] = 0.00
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird3[AngryBirdLoop]) Less than AngryBirdsMaxHeight
Then - Actions
Animation - Change AngryBird3[AngryBirdLoop] flying height to ((Current flying height of AngryBird3[AngryBirdLoop]) + AngryBirdFlySpeed) at 0.00
Else - Actions
Custom script: call RemoveLocation(udg_AngryBirdp)
Custom script: call RemoveLocation(udg_AngryBirdTargetp)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBirdRecall3[AngryBirdLoop] Equal to False
Then - Actions
Unit - Remove Angry Birds buff from AngryBirdTarget3[AngryBirdLoop]
Set AngryBirdTarget3[AngryBirdLoop] = No unit
Set AngryBirdHitInProgress3[AngryBirdLoop] = False
Set AngryBirdRecall3[AngryBirdLoop] = True
Else - Actions
Set AngryBirdp = (Position of AngryBird3[AngryBirdLoop])
Set AngryBirdTargetp = (Position of AngryBirdCaster[AngryBirdLoop])
Set AngryBird3Rotation[AngryBirdLoop] = (Angle from AngryBirdp to AngryBirdTargetp)
Set AngryBirdp2 = (AngryBirdp offset by AngryBirdSpeed towards (Facing of AngryBird3[AngryBirdLoop]) degrees)
Unit - Move AngryBird3[AngryBirdLoop] instantly to AngryBirdp2
Unit - Make AngryBird3[AngryBirdLoop] face AngryBird3Rotation[AngryBirdLoop] over AngryBirdsTurningSpeed seconds
Custom script: call RemoveLocation(udg_AngryBirdp2)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between AngryBirdp and AngryBirdTargetp) Greater than (AngryBirdsReturnRadius x 2.00)
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird3[AngryBirdLoop]) Less than (AngryBirdsMaxHeight - 200.00)
Then - Actions
Animation - Change AngryBird3[AngryBirdLoop] flying height to ((Current flying height of AngryBird3[AngryBirdLoop]) + AngryBirdFlySpeed) at 0.00
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird3[AngryBirdLoop]) Less than or equal to AngryBirdsMinHeight
(Distance between AngryBirdp and AngryBirdTargetp) Less than AngryBirdsReturnRadius
Then - Actions
Set AngryBird3TimerTilRecall[AngryBirdLoop] = AngryBird3OriginalRecall[AngryBirdLoop]
Animation - Change AngryBird3[AngryBirdLoop] flying height to (Default flying height of AngryBird3[AngryBirdLoop]) at 0.00
Unit Group - Remove AngryBird3[AngryBirdLoop] from AngryBirdRunningGroup
Set AngryBird3AmountOfHits[AngryBirdLoop] = 0
Set AngryBirdRecall3[AngryBirdLoop] = False
Unit - Add AngryBirdDetectAbility to AngryBird3[AngryBirdLoop]
Set AngryBird1Rotation[AngryBirdLoop] = 90.00
Set AngryBird2Rotation[AngryBirdLoop] = 180.00
Set AngryBird3Rotation[AngryBirdLoop] = 270.00
Set AngryBird4Rotation[AngryBirdLoop] = 360.00
Else - Actions
Animation - Change AngryBird3[AngryBirdLoop] flying height to ((Current flying height of AngryBird3[AngryBirdLoop]) - AngryBirdFlySpeed) at 0.00
Custom script: call RemoveLocation(udg_AngryBirdp)
Custom script: call RemoveLocation(udg_AngryBirdTargetp)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird4[AngryBirdLoop] Not equal to No unit
AngryBirdHitInProgress4[AngryBirdLoop] Equal to False
AngryBirdRecall4[AngryBirdLoop] Equal to False
Then - Actions
Set AngryBirdp = (Position of AngryBirdCaster[AngryBirdLoop])
Set AngryBird4Rotation[AngryBirdLoop] = (AngryBird4Rotation[AngryBirdLoop] + AngryBirdAuraRotateSpeed)
Set AngryBirdp2 = (AngryBirdp offset by AngryBirdDistFromHero towards AngryBird4Rotation[AngryBirdLoop] degrees)
Unit - Move AngryBird4[AngryBirdLoop] instantly to AngryBirdp2
Unit - Make AngryBird4[AngryBirdLoop] face AngryBird4Rotation[AngryBirdLoop] over AngryBirdsTurningSpeed seconds
Custom script: call RemoveLocation(udg_AngryBirdp2)
Custom script: call RemoveLocation(udg_AngryBirdp)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(AngryBirdTarget4[AngryBirdLoop] is dead) Equal to True
Then - Actions
Set AngryBird4AmountOfHits[AngryBirdLoop] = AngryBird4MaxHitAmount[AngryBirdLoop]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBirdHitInProgress4[AngryBirdLoop] Equal to True
AngryBird4AmountOfHits[AngryBirdLoop] Less than AngryBird4MaxHitAmount[AngryBirdLoop]
Then - Actions
Set AngryBirdp = (Position of AngryBird4[AngryBirdLoop])
Set AngryBirdTargetp = (Position of AngryBirdTarget4[AngryBirdLoop])
Set AngryBird4Rotation[AngryBirdLoop] = (Angle from AngryBirdp to AngryBirdTargetp)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird4TimerTilRecall[AngryBirdLoop] Less than or equal to 0.00
Then - Actions
Set AngryBird4AmountOfHits[AngryBirdLoop] = AngryBird4MaxHitAmount[AngryBirdLoop]
Else - Actions
Set AngryBird4TimerTilRecall[AngryBirdLoop] = (AngryBird4TimerTilRecall[AngryBirdLoop] - AngryBirdMinusTimerSpeed)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird4CooldownToHit[AngryBirdLoop] Less than AngryBirdsMaxCooldownToHit
Then - Actions
Set AngryBird4CooldownToHit[AngryBirdLoop] = (AngryBird4CooldownToHit[AngryBirdLoop] + AngryBirdsCooldownSpeed)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between AngryBirdp and AngryBirdTargetp) Greater than AngryBird4DistReqToCollide[AngryBirdLoop]
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird4[AngryBirdLoop]) Less than AngryBirdsMaxHeight
Then - Actions
Animation - Change AngryBird4[AngryBirdLoop] flying height to ((Current flying height of AngryBird4[AngryBirdLoop]) + (AngryBirdFlySpeed / 2.00)) at 0.00
Else - Actions
Set AngryBirdp2 = (AngryBirdp offset by AngryBirdSpeed towards (Facing of AngryBird4[AngryBirdLoop]) degrees)
Unit - Move AngryBird4[AngryBirdLoop] instantly to AngryBirdp2
Unit - Make AngryBird4[AngryBirdLoop] face AngryBird4Rotation[AngryBirdLoop] over AngryBirdsTurningSpeed seconds
Custom script: call RemoveLocation(udg_AngryBirdp2)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBird4DistReqToCollide[AngryBirdLoop] Less than AngryBirdMaxCollisionRadius
Then - Actions
Set AngryBird4DistReqToCollide[AngryBirdLoop] = (AngryBird4DistReqToCollide[AngryBirdLoop] + AngryBirdsCollisionSpedBuildup)
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird4[AngryBirdLoop]) Greater than 10.00
AngryBird4CooldownToHit[AngryBirdLoop] Greater than or equal to AngryBirdsMaxCooldownToHit
Then - Actions
Animation - Change AngryBird4[AngryBirdLoop] flying height to ((Current flying height of AngryBird4[AngryBirdLoop]) - AngryBirdFlySpeed) at 0.00
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird4[AngryBirdLoop]) Less than or equal to (AngryBirdsMinHeight + 5.00)
Then - Actions
Set AngryBird4AmountOfHits[AngryBirdLoop] = (AngryBird4AmountOfHits[AngryBirdLoop] + 1)
Special Effect - Create a special effect at AngryBirdp using AngryBirdSFX
Special Effect - Destroy (Last created special effect)
Set AngryBirdCollideGroup = (Units within AngryBirdsCollisionOnImpact of AngryBirdp)
Unit Group - Pick every unit in AngryBirdCollideGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) belongs to an enemy of AngryBirdPlayer[AngryBirdLoop]) Equal to True
Then - Actions
Unit - Cause AngryBirdCaster[AngryBirdLoop] to damage (Picked unit), dealing AngryBirdDMG[AngryBirdLoop] damage of attack type AngryBirdAttackType and damage type AngryBirdDamageType
Else - Actions
Custom script: call DestroyGroup(udg_AngryBirdCollideGroup)
Set AngryBird4CooldownToHit[AngryBirdLoop] = 0.00
Set AngryBird4DistReqToCollide[AngryBirdLoop] = 0.00
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird4[AngryBirdLoop]) Less than AngryBirdsMaxHeight
Then - Actions
Animation - Change AngryBird4[AngryBirdLoop] flying height to ((Current flying height of AngryBird4[AngryBirdLoop]) + AngryBirdFlySpeed) at 0.00
Else - Actions
Custom script: call RemoveLocation(udg_AngryBirdp)
Custom script: call RemoveLocation(udg_AngryBirdTargetp)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBirdRecall4[AngryBirdLoop] Equal to False
Then - Actions
Unit - Remove Angry Birds buff from AngryBirdTarget4[AngryBirdLoop]
Set AngryBirdTarget4[AngryBirdLoop] = No unit
Set AngryBirdHitInProgress4[AngryBirdLoop] = False
Set AngryBirdRecall4[AngryBirdLoop] = True
Else - Actions
Set AngryBirdp = (Position of AngryBird4[AngryBirdLoop])
Set AngryBirdTargetp = (Position of AngryBirdCaster[AngryBirdLoop])
Set AngryBird4Rotation[AngryBirdLoop] = (Angle from AngryBirdp to AngryBirdTargetp)
Set AngryBirdp2 = (AngryBirdp offset by AngryBirdSpeed towards (Facing of AngryBird4[AngryBirdLoop]) degrees)
Unit - Move AngryBird4[AngryBirdLoop] instantly to AngryBirdp2
Unit - Make AngryBird4[AngryBirdLoop] face AngryBird4Rotation[AngryBirdLoop] over AngryBirdsTurningSpeed seconds
Custom script: call RemoveLocation(udg_AngryBirdp2)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between AngryBirdp and AngryBirdTargetp) Greater than (AngryBirdsReturnRadius x 2.00)
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird4[AngryBirdLoop]) Less than (AngryBirdsMaxHeight - 200.00)
Then - Actions
Animation - Change AngryBird4[AngryBirdLoop] flying height to ((Current flying height of AngryBird4[AngryBirdLoop]) + AngryBirdFlySpeed) at 0.00
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current flying height of AngryBird4[AngryBirdLoop]) Less than or equal to AngryBirdsMinHeight
(Distance between AngryBirdp and AngryBirdTargetp) Less than AngryBirdsReturnRadius
Then - Actions
Animation - Change AngryBird4[AngryBirdLoop] flying height to (Default flying height of AngryBird4[AngryBirdLoop]) at 0.00
Set AngryBird4TimerTilRecall[AngryBirdLoop] = AngryBird4OriginalRecall[AngryBirdLoop]
Unit Group - Remove AngryBird4[AngryBirdLoop] from AngryBirdRunningGroup
Set AngryBird4AmountOfHits[AngryBirdLoop] = 0
Set AngryBirdRecall4[AngryBirdLoop] = False
Unit - Add AngryBirdDetectAbility to AngryBird4[AngryBirdLoop]
Set AngryBird1Rotation[AngryBirdLoop] = 90.00
Set AngryBird2Rotation[AngryBirdLoop] = 180.00
Set AngryBird3Rotation[AngryBirdLoop] = 270.00
Set AngryBird4Rotation[AngryBirdLoop] = 360.00
Else - Actions
Animation - Change AngryBird4[AngryBirdLoop] flying height to ((Current flying height of AngryBird4[AngryBirdLoop]) - AngryBirdFlySpeed) at 0.00
Custom script: call RemoveLocation(udg_AngryBirdp)
Custom script: call RemoveLocation(udg_AngryBirdTargetp)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AngryBirdIndex Equal to 0
Then - Actions
Countdown Timer - Pause AngryBirdsTimer
Trigger - Turn off (This trigger)
Else - Actions
[/trigger]