send a sampleMake sure the sleep spell that is used by the dummy has no mana cost, no cooldown, and no cast time. This way he can simultaneously cast it on all the units in the area at once.
You will also have to make a dummy ability for your hero based on an AOE ability that does nothing, so when you cast it you can create the dummy and have him cast sleep on the units via triggers.
If I had time I'd give you a sample trigger, maybe later if no one else has.
Next time make your own thread if you're confused instead of reviving one 9-years-dead. These are the settings a dummy needs to have to be able to cast instantly:send a sample
not workedNext time make your own thread if you're confused instead of reviving one 9-years-dead. These are the settings a dummy needs to have to be able to cast instantly:
In order to resolve potential issues with your map it is recommended that your dummies also have these settings:
- Art - Animation - Cast point: 0
- Art - Animation - Cast backswing: 0
- Movement - Speed Base: 0
- Movement - Type: None
Then you can literally do this:
- Abilities - Normal: Locust
- Art - Model File: None
- Art - Shadow Image (Unit): None
- Combat - Attacks Enabled: None
- Combat - Death Type: Can't raise, Does not decay
- Stats - Hide Minimap Display: True
- Stats - Mana Maximum: 100000
- Stats - Mana Initial Amount: 100000
- Sight Radius - Day: 0
- Sight Radius - Night: 0
- Stats - Point Value: 0
- Techtree - Upgrades Used: None
- Unit - Create 1 DUMMY for ...
- Set Dum = (Last created unit)
- Unit - Add Storm Bolt to Dum
- Unit - Add a 1.00 second Generic expiration timer to Dum
- Unit Group - Pick every unit in SOME GROUP and do (Actions)
- Loop - Actions
- Unit - Order Dum to Human Mountain King - Storm Bolt (Picked Unit)
send a map with an exampleIf it's a targeted spell, the dummy needs to have vision of the target by some other means since it has a sight radius of 1. But you literally provided 0 information so I am just making a random guess as to what the issue is. The way I described works; I use it all of the time to instantly cast whenever I need something to. Be more specific.