- Joined
- May 16, 2020
- Messages
- 660
Hi guys,
The following trigger should order the dummy unit to cast Frost Nova on all matching enemies, regardless if the enemy is visible to the triggering player or not. However, in reality the dummy unit casts Frost Nova only on visible enemies (the dummy unit has 0 vision).
Is there a way to fix this, without giving the dummy unit vision?
Cheers
The following trigger should order the dummy unit to cast Frost Nova on all matching enemies, regardless if the enemy is visible to the triggering player or not. However, in reality the dummy unit casts Frost Nova only on visible enemies (the dummy unit has 0 vision).
-
Unit Group - Pick every unit in (Units within 2000.00 of DB_Point[1].) and do (Actions)
-
Loop - Actions
-
Set VariableSet DB_Unit = (Picked unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(DB_Unit is alive) Equal to True
-
(DB_Unit has buff Dual Breath ) Equal to True
-
(DB_Unit belongs to an enemy of (Owner of DB_Caster[DB_Index]).) Equal to True
-
-
Then - Actions
-
Unit - Create 1 Dummy (Ground/Speed 0) for (Owner of DB_Caster[DB_Index]) at DB_Point[1] facing Default building facing degrees
-
Set VariableSet DB_Dummy = (Last created unit)
-
Unit - Add Dual Breath (Slow) to DB_Dummy
-
Unit - Order DB_Dummy to Undead Lich - Frost Nova DB_Unit
-
Unit - Add a 0.50 second Generic expiration timer to DB_Dummy
-
-
Else - Actions
-
-
-
Is there a way to fix this, without giving the dummy unit vision?
Cheers
Last edited: