• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Spell] Mass sleep by GUI

Status
Not open for further replies.
Level 14
Joined
Nov 17, 2010
Messages
1,265
Make 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.
 
Level 5
Joined
Sep 1, 2022
Messages
86
Make 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.
send a sample
 
Level 39
Joined
Feb 27, 2007
Messages
5,013
send a sample
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:
  • Art - Animation - Cast point: 0
  • Art - Animation - Cast backswing: 0
  • Movement - Speed Base: 0
  • Movement - Type: None
In order to resolve potential issues with your map it is recommended that your dummies also have these settings:
  • 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
Then you can literally do this:
  • 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)
 
Level 5
Joined
Sep 1, 2022
Messages
86
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:
  • Art - Animation - Cast point: 0
  • Art - Animation - Cast backswing: 0
  • Movement - Speed Base: 0
  • Movement - Type: None
In order to resolve potential issues with your map it is recommended that your dummies also have these settings:
  • 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
Then you can literally do this:
  • 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)
not worked
 
Level 39
Joined
Feb 27, 2007
Messages
5,013
If 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.
 
Level 5
Joined
Sep 1, 2022
Messages
86
If 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.
send a map with an example
 
Status
Not open for further replies.
Top