- Joined
- Oct 30, 2009
- Messages
- 24
Sorry its kinda hard to see
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Confusion Ray

События


Боевая единица - A unit Начинает применять способность

Условия


(Ability being cast) равно Confusion Ray

Действия


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



Если - Условия




(Level of Confusion Ray for (Triggering unit)) равно 1



То - Действия




For each (Integer A) from 1 to 10, do (Actions)





Цикл - Действия






Боевая единица - Create 1 CRD for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Стандартная ориентация зданий degrees






Set CRDU[(Integer A)] = (Last created unit)






Боевая единица - Order (Last created unit) to Двигаться (Target point of ability being cast)






Wait 0.05 seconds




Wait ((Distance between (Position of (Triggering unit)) and (Target point of ability being cast)) / 270.00) seconds




For each (Integer A) from 1 to 10, do (Actions)





Цикл - Действия






Боевая единица - Kill CRDU[(Integer A)]



Иначе - Действия




Do nothing


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



Если - Условия




(Level of Confusion Ray for (Triggering unit)) равно 2



То - Действия




For each (Integer A) from 1 to 15, do (Actions)





Цикл - Действия






Боевая единица - Create 1 CRD for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Стандартная ориентация зданий degrees






Set CRDU[(Integer A)] = (Last created unit)






Боевая единица - Order (Last created unit) to Двигаться (Target point of ability being cast)






Wait 0.05 seconds




Wait ((Distance between (Position of (Triggering unit)) and (Target point of ability being cast)) / 270.00) seconds




For each (Integer A) from 1 to 15, do (Actions)





Цикл - Действия






Боевая единица - Kill CRDU[(Integer A)]



Иначе - Действия




Do nothing


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



Если - Условия




(Level of Confusion Ray for (Triggering unit)) равно 3



То - Действия




For each (Integer A) from 1 to 20, do (Actions)





Цикл - Действия






Боевая единица - Create 1 CRD for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Стандартная ориентация зданий degrees






Set CRDU[(Integer A)] = (Last created unit)






Боевая единица - Order (Last created unit) to Двигаться (Target point of ability being cast)






Wait 0.05 seconds




Wait ((Distance between (Position of (Triggering unit)) and (Target point of ability being cast)) / 270.00) seconds




For each (Integer A) from 1 to 20, do (Actions)





Цикл - Действия






Боевая единица - Kill CRDU[(Integer A)]



Иначе - Действия




Do nothing


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



Если - Условия




(Level of Confusion Ray for (Triggering unit)) равно 4



То - Действия




For each (Integer A) from 1 to 25, do (Actions)





Цикл - Действия






Боевая единица - Create 1 CRD for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Стандартная ориентация зданий degrees






Set CRDU[(Integer A)] = (Last created unit)






Боевая единица - Order (Last created unit) to Двигаться (Target point of ability being cast)






Wait 0.05 seconds




Wait ((Distance between (Position of (Triggering unit)) and (Target point of ability being cast)) / 270.00) seconds




For each (Integer A) from 1 to 25, do (Actions)





Цикл - Действия






Боевая единица - Kill CRDU[(Integer A)]



Иначе - Действия




Do nothing


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



Если - Условия




(Level of Confusion Ray for (Triggering unit)) равно 5



То - Действия




For each (Integer A) from 1 to 20, do (Actions)





Цикл - Действия






Боевая единица - Create 1 CRD for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Стандартная ориентация зданий degrees






Set CRDU[(Integer A)] = (Last created unit)






Боевая единица - Order (Last created unit) to Двигаться (Target point of ability being cast)






Wait 0.05 seconds




Wait ((Distance between (Position of (Triggering unit)) and (Target point of ability being cast)) / 270.00) seconds




For each (Integer A) from 1 to 20, do (Actions)





Цикл - Действия






Боевая единица - Kill CRDU[(Integer A)]



Иначе - Действия




Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)

If


(Level of Confusion Ray for (Triggering unit)) equals to 1

Then


For each (Integer A) from 1 to 10, do (Actions)



Do




Unit - Create 1 CRD for (Owner of (Triggering unit)) at (Position of (Triggering unit)) "facing over 9000" degrees




Set CRDU[(Integer A)] = (Last created unit)




Unit - Order (Last created unit) to Двигаться (Target point of ability being cast)




Wait (0.5) seconds


Wait ((Distance between (Position of (Triggering unit)) and (Target point of ability being cast)) / 270.00) seconds


For each (Integer A) from 1 to 10, do (Actions)



Do




unit - Kill CRDU[(Integer A)]

Else


Do nothing