Hi! I`ve spent too much time of trying to make it work. I just dont know what`s exactly wrong. The point of this ability is a trap - unit A casting an ability (placing a trap), then, when unit B falls into that trap, unit A can attack him from double of its normal attack range and deal a bonus damage (aka Caitlyn yordle traps xd). Here what i made, please, tell, where is (are) a mistake(s)... T.T
-
Snipe
-
СобытиÑ
- Ð‘Ð¾ÐµÐ²Ð°Ñ ÐµÐ´Ð¸Ð½Ð¸Ñ†Ð° - A unit Приводит ÑпоÑобноÑÑ‚ÑŒ в дейÑтвие
-
УÑловиÑ
- (Unit-type of (Triggering unit)) равно Следователь
- (Ability being cast) равно Ловушка "Ðрбитр"
-
ДейÑтвиÑ
- ОтрÑд - Add (Triggering unit) to GroupX[1]
- Set Point[1] = (Target point of ability being cast)
- Set Region[1] = (Region centered at Point[1] with size (50.00, 50.00))
- Триггер - Add to (This trigger) the event (Ð‘Ð¾ÐµÐ²Ð°Ñ ÐµÐ´Ð¸Ð½Ð¸Ñ†Ð° - A unit enters Region[1])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
ЕÑли - УÑловиÑ
- (Owner of (Entering unit)) не равно Игрок 1 (краÑный)
-
То - ДейÑтвиÑ
-
ОтрÑд - Pick every unit in GroupX[1] and do (Actions)
-
Цикл - ДейÑтвиÑ
- Ð¥Ñш-таблица - Save Handle Of(Entering unit) as (Key target) of (Key (Picked unit)) in (Last created hashtable)
- СпецÑффект - Create a special effect attached to the left.hand of (Picked unit) using Abilities\Spells\Other\Incinerate\IncinerateBuff.mdl
-
Цикл - ДейÑтвиÑ
- Триггер - Add to (This trigger) the event (Ð‘Ð¾ÐµÐ²Ð°Ñ ÐµÐ´Ð¸Ð½Ð¸Ñ†Ð° - A unit Отдал приказ (цель - объект))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
ЕÑли - УÑловиÑ
- (Unit-type of (Triggering unit)) не равно Следователь
- ((Issued order) не равно (Order(attack))) or ((Issued order) не равно (Order(smart)))
-
То - ДейÑтвиÑ
- Do nothing
-
Иначе - ДейÑтвиÑ
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
ЕÑли - УÑловиÑ
- (Target unit of issued order) не равно (Load (Key target) of (Key (Picked unit)) in (Last created hashtable))
-
То - ДейÑтвиÑ
- Do nothing
-
Иначе - ДейÑтвиÑ
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
ЕÑли - УÑловиÑ
- (Region[1] contains (Load (Key target) of (Key (Picked unit)) in (Last created hashtable))) равно Да
- ((Load (Key target) of (Key (Picked unit)) in (Last created hashtable)) is alive) равно Да
-
То - ДейÑтвиÑ
- Wait until ((Distance between (Position of (Triggering unit)) and (Position of (Target unit of issued order))) меньше или равно 1300.00), checking every 0.10 seconds
- СпецÑффект - Destroy (Last created special effect)
- Ð‘Ð¾ÐµÐ²Ð°Ñ ÐµÐ´Ð¸Ð½Ð¸Ñ†Ð° - Turn collision for (Triggering unit) Откл.
- Ð‘Ð¾ÐµÐ²Ð°Ñ ÐµÐ´Ð¸Ð½Ð¸Ñ†Ð° - Set (Triggering unit) acquisition range to 1300.00
- Ð‘Ð¾ÐµÐ²Ð°Ñ ÐµÐ´Ð¸Ð½Ð¸Ñ†Ð° - Cause (Triggering unit) to damage (Target unit of issued order), dealing 60.00 damage of attack type Дальний бой and damage type Обычный
- ÐÐ½Ð¸Ð¼Ð°Ñ†Ð¸Ñ - Play (Triggering unit)'s attack 1 animation
- СпецÑффект - Create a special effect attached to the overhead of (Target unit of issued order) using Objects\Spawnmodels\Human\HumanBlood\HumanBloodFootman.mdl
- Ð‘Ð¾ÐµÐ²Ð°Ñ ÐµÐ´Ð¸Ð½Ð¸Ñ†Ð° - Set (Triggering unit) acquisition range to 650.00
- Ð‘Ð¾ÐµÐ²Ð°Ñ ÐµÐ´Ð¸Ð½Ð¸Ñ†Ð° - Turn collision for (Triggering unit) Вкл.
- ОтрÑд - Remove (Triggering unit) from GroupX[1]
- Ð¥Ñш-таблица - Clear all child hashtables of child (Key (Picked unit)) in (Last created hashtable)
- Custom script: call RemoveLocation(udg_Point[1])
- Custom script: call RemoveRect(udg_Region[1])
-
Иначе - ДейÑтвиÑ
- СпецÑффект - Destroy (Last created special effect)
- ОтрÑд - Remove (Picked unit) from GroupX[1]
- Ð¥Ñш-таблица - Clear all child hashtables of child (Key (Picked unit)) in (Last created hashtable)
- Custom script: call RemoveLocation(udg_Point[1])
- Custom script: call RemoveRect(udg_Region[1])
-
ЕÑли - УÑловиÑ
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
ЕÑли - УÑловиÑ
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
ЕÑли - УÑловиÑ
-
ОтрÑд - Pick every unit in GroupX[1] and do (Actions)
-
Иначе - ДейÑтвиÑ
- Do nothing
-
ЕÑли - УÑловиÑ
-
СобытиÑ
Last edited: