• 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.

Help for my spell pls

Status
Not open for further replies.
Level 8
Joined
Jul 29, 2010
Messages
319
I need help for the triggers for my spell, when my hero run, it creates a road of fire that burns enemies near or goes near to it. Also damaging it. ( This activates when the spell is casted. )
Can't you just use immolation and adjust the area of effect to your liking? also in the targets allowed section, tick the target "self" and that should burn your hero as well as other units
 
Level 14
Joined
Nov 30, 2013
Messages
926
For the fire, make a dummy unit with a locust and Immolation/Disease Cloud. Then you need a buff of that casted ability.
  • Fire
    • Events
      • Time - Every <Real> seconds of game time
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) has buff <Ability's Buff>) Equal to True
            • Then - Actions
              • Set TempLoc = (Position of (Picked unit))
              • Unit - Create 1 <Dummy Unit> for (Owner of (Picked unit)) at TempLoc facing Default building facing degrees
              • Unit - Add a 30.00 second Generic expiration timer to (Last created unit)
              • Custom script: call RemoveLocation(udg_TempLoc)
            • Else - Actions
 
Level 8
Joined
Jan 28, 2016
Messages
486
Can't you just use immolation and adjust the area of effect to your liking? also in the targets allowed section, tick the target "self" and that should burn your hero as well as other units

I think he wants the spell to leave a trail of fire behind the hero as they move, burning enemies that come into contact with the path. Similar to Batrider's Firefly from DotA I presume?
 
Level 3
Joined
Aug 29, 2016
Messages
56
I think he wants the spell to leave a trail of fire behind the hero as they move, burning enemies that come into contact with the path. Similar to Batrider's Firefly from DotA I presume?
Yeah

For the fire, make a dummy unit with a locust and Immolation/Disease Cloud. Then you need a buff of that casted ability.
  • Fire
    • Events
      • Time - Every <Real> seconds of game time
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) has buff <Ability's Buff>) Equal to True
            • Then - Actions
              • Set TempLoc = (Position of (Picked unit))
              • Unit - Create 1 <Dummy Unit> for (Owner of (Picked unit)) at TempLoc facing Default building facing degrees
              • Unit - Add a 30.00 second Generic expiration timer to (Last created unit)
              • Custom script: call RemoveLocation(udg_TempLoc)
            • Else - Actions
This would work for me, since i would only need a simple spell.
 
Last edited by a moderator:
Status
Not open for further replies.
Top