So, my intention was to create a war cry ability, which deals no damage and stuns + dazes the enemies in the AoE. But then, I encountered problems. How to order the dummy to cast the dummy thunder clap ability, which option should I pick from the list?
Code:
Warcry
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to War Cry
Actions
Set Temp_Point = (Position of (Triggering unit))
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at Point facing (Point(270.00, 0.00))
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add War Cry Dummy to (Last created unit)
Unit - Set level of War Cry Dummy for (Last created unit) to (Level of War Cry for (Triggering unit))
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Custom script: call RemoveLocation (udg_Temp_Point)