- Joined
- Aug 31, 2014
- Messages
- 137
Hello im working on a map like Survival choas but ive ran into an issue that i forsaw a long time ago and never quite figured out how to fix the issue. The issue is that i get units to cast their spells but the units sometimes freeze and do nothing and will not cast an ability when ordered not even attack. I have mulituble triggers for different areas of the map thinking maybe it was the using one veriable, or so on put the casters into groups ect i know im doing something the wrong way and maybe thats it.[trigger=gui]
even weirder yet i have A trigger that is turned off and still making units use their abilitys....
Thank you for taking your time and reading this and maybe help me out
-
Necomaster coin right
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
(Undead vs Orcs <gen> contains (Attacking unit)) Equal to True
-
(Unit-type of (Attacking unit)) Equal to Necomancer
-
-
Actions
-
Set Necomaster_right = (Attacking unit)
-
Set Necomaster_Right = (Position of Necomaster_right)
-
Set Necomastergroup_right = (Units within 700.00 of (Position of Necomaster_right) matching ((((Matching unit) belongs to an ally of (Owner of Necomaster_right)) Equal to True) and ((Percentage life of (Matching unit)) Less than or equal to 80.00)))
-
Set coiltargetright = (Random unit from Necomastergroup_right)
-
Unit - Order Necomaster_right to Undead Death Knight - Death Coil coiltargetright
-
Unit Group - Remove all units from Necomastergroup_right
-
Set Necomaster_right = No unit
-
Set Necomaster_right = No unit
-
Custom script: call DestroyGroup (udg_Necomastergroup_right)
-
Custom script: call RemoveLocation (udg_Necomaster_Right)
-
-
even weirder yet i have A trigger that is turned off and still making units use their abilitys....
Thank you for taking your time and reading this and maybe help me out