• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Mass stormbolt trigger?

Status
Not open for further replies.
Level 2
Joined
Jun 24, 2013
Messages
6
can anyone show me how to make a trigger that issues a dummy unit to cast storm bolt at all unit within 500 range? if you could make it for me it would help out alot thanks ^_^
 
  • Like
Reactions: ILH
Level 20
Joined
Jul 14, 2011
Messages
3,213
Create an invisible dummy and order it to cast War Stomp with 500 AoE :) Adn add an expiration timer to (Last created unit) of 1 second or so.
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
If all you're after is the stun a lot of units what Spartilio recommended is perfect. Make sure your dummy unit has no model/no cast time.

  • Storm Bolts
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • Set TempPoint = (Position of (Triggering unit))
      • Unit - Create 1 Dummy for (Triggering player) at TempPoint facing Default building facing degrees
      • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
      • Unit - Add Storm Bolt to (Last created unit)
      • Set TempUnit = (Last created unit)
      • Set TempGroup = (Units within 500.00 of TempPoint matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of (Triggering player)) Equal to True)))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Unit - Order TempUnit to Human Mountain King - Storm Bolt (Picked unit)
      • Set TempUnit = No unit
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Custom script: call DestroyGroup(udg_TempGroup)
      • Custom script: set udg_TempGroup = null
 
Level 2
Joined
Jun 24, 2013
Messages
6
If all you're after is the stun a lot of units what Spartilio recommended is perfect. Make sure your dummy unit has no model/no cast time.

  • Storm Bolts
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • Set TempPoint = (Position of (Triggering unit))
      • Unit - Create 1 Dummy for (Triggering player) at TempPoint facing Default building facing degrees
      • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
      • Unit - Add Storm Bolt to (Last created unit)
      • Set TempUnit = (Last created unit)
      • Set TempGroup = (Units within 500.00 of TempPoint matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of (Triggering player)) Equal to True)))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Unit - Order TempUnit to Human Mountain King - Storm Bolt (Picked unit)
      • Set TempUnit = No unit
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Custom script: call DestroyGroup(udg_TempGroup)
      • Custom script: set udg_TempGroup = null

thanks poke :)
 
Status
Not open for further replies.
Top