carrion swarm automaticly shooting the direction your faceing

Avaleirra

Is back. Probably.
Reaction score
128
Use a dummy unit to cast the spell. When you create it make sure it is facing the same direction as caster (Im not 100% sure on how to do this)
 

LearningCode

New Member
Reaction score
24
Use channel
Use dummy
Use trigger
Make dummy move
Pick units within dummy's range
Damage units

Extremely rough guideline, if I do say so myself
 

HydraRancher

Truth begins in lies
Reaction score
197
Do you mean forever?
Trigger:
  • Trigger
    • Events
      • Time - Every 5.00 seconds of game time
    • Conditions
    • Actions
      • Set Temp_Group = Units in the (Playable Map Area) matching (Level of "Passive Carrion Swarm" for (Matching Unit) greater than (>) 0)
      • Unit - Pick every unit in Temp_Group and do (Actions)
        • Loop - Actions
          • Set Temp_Point = Position of (Picked Unit)
          • Set Temp_Point_2 = Temp_Point offset by 10.00 towards (Facing of (Picked Unit))
          • Unit - Create 1 Zone Indicator (Custom Campaign) for (Owner of (Picked Unit)) facing default building degrees (270.00)
          • Unit - Add Carrion Swarm to (Last Created Unit)
          • Unit - Set level of Carrion Swarm for (Last Created Unit) to (Level of "Passive Carrion Swarm" for (Picked Unit))
          • Unit - Order (Last Created Unit) to Undead Dreadlord - Carrion Swarm Temp_Point_2
          • Unit - Add a 2.00 second generic expiration timer to (Last Created Unit)
          • Custom Script: call RemoveLocation (udg_Temp_Point)
          • Custom Script: call RemoveLocation (udg_Temp_Point_2)
      • Custom Script: call DestroyGroup (udg_Temp_Group)



Passive Carrion Swarm - Base it off Critical Strike, set all values to 0.
Carrion Swarm - Original Carrion Swarm, make sure mana cost is 0, edit the values how you want.
 

LearningCode

New Member
Reaction score
24
That is so..
Eww.

I think he meant when you cast it, the projectile flies depending on where you're facing.
Using channel (Instant, no target)

[Off-topic]
Like those Touhou games.
TOUHOU!!! KYAA!!! xD

Okay, google it up if you want to know about it xD

[edit]
I also believe you have to null your groups and locations?
Doesn't using LastCreatedUnit and PickedUnit Leak?
 

Ayanami

칼리
Reaction score
288
Last Created Unit and Picked Unit don't leak. Groups does not need to be nulled, JASS stuff as mentioned above. I saw you posting quite a lot of times about null-ing groups and locations in previous threads which were GUI based triggers :p
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top