• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Please help me with this.

Status
Not open for further replies.
Level 2
Joined
Aug 1, 2008
Messages
23
I want to make a spell thats repeative ex. You cast 1 spell and 3 fire balls comes after eachother with like 1 sec delay. I would really appreaciate if someone could help. Im going to sleep now Good night. :goblin_sleep:
 
This?:

  • Events
    • Unit - A unit Begins casting an ability
  • Conditions
    • (Ability being cast) Equal to Your Spell
  • Actions
    • Set Point = (Position of (Casting unit))
    • Unit - Create 1 Your Unit for (Owner of (Casting unit)) at Point facing Default building facing degrees
    • Unit - Add a 1.02 second Generic expiration timer to (Last created unit)
    • Wait 0.50 seconds
    • Unit - Order (Last created unit) to Neutral - Firebolt (Target unit of ability being cast)
    • Wait 0.50 seconds
    • Unit - Order (Last created unit) to Neutral - Firebolt (Target unit of ability being cast)
    • Custom script: call RemoveLocation (udg_Point)
If you want to loop it:

  • For each (Integer A) from 1 to How Many you Want, do (Actions)
    • Loop - Actions
      • Unit - Order (Last created unit) to Neutral - Firebolt (Target unit of ability being cast)
Point is a point variable. Just create a unit with a Firebolt ability. Set the abilities damage to how much you want and set the cooldown to 0.01 sec. and mana cost 0 if the unit has no mana. Hope it helps:)
 
This?:

  • Events
    • Unit - A unit Begins casting an ability
  • Conditions
    • (Ability being cast) Equal to Your Spell
  • Actions
    • Set Point = (Position of (Casting unit))
    • Unit - Create 1 Your Unit for (Owner of (Casting unit)) at Point facing Default building facing degrees
    • Unit - Add a 1.02 second Generic expiration timer to (Last created unit)
    • Wait 0.50 seconds
    • Unit - Order (Last created unit) to Neutral - Firebolt (Target unit of ability being cast)
    • Wait 0.50 seconds
    • Unit - Order (Last created unit) to Neutral - Firebolt (Target unit of ability being cast)
    • Custom script: call RemoveLocation (udg_Point)
If you want to loop it:

  • For each (Integer A) from 1 to How Many you Want, do (Actions)
    • Loop - Actions
      • Unit - Order (Last created unit) to Neutral - Firebolt (Target unit of ability being cast)
Point is a point variable. Just create a unit with a Firebolt ability. Set the abilities damage to how much you want and set the cooldown to 0.01 sec. and mana cost 0 if the unit has no mana. Hope it helps:)

Well i want to do a spell like death coil but it heals your allies and dmg your enemies and it will be looping but it doesnt really work :O
 
K i use the spell Penance (based of channel) then it shoots 1 bolt that heals/dmg (depending on ally/enemy) 150 and it will shoot 3 times like this. Fires 1 bolt w8 1 sec fires another one w8 1 sec fires the last one
 
I mean you click on the target u want to use the skill on then the skills shoots the person ur targeting and heals or damage depending on allie or enemy
 
Well i want to do a spell like death coil but it heals your allies and dmg your enemies and it will be looping but it doesnt really work :O

If it's Death Coil then it has to be:

  • Unit - Order (Last created unit) to Undead Death Knight - Death Coil (Target unit of ability being cast)
Or any of the spells, just put the spell in the middle, "Undead Death Knight - Death Coll". Also use the first trigger instead of the loop or add a wait in the loop so it doesn't cast all 3 times in 1 time.:) Also make sure your unit has no model, put none.mdx or anything like that in the Model File or just put it's scale to 0.01, also add Locust ability if you don't want the unit to be damaged. Hope it helps:)
 
"The lightning" as you called it, it is just th SPECIAL EFFECT, noting more
You could add them by this:

  • Lightning - Create a Chain Lightning - Primary lightning effect from source (Position of (Triggering unit)) to target Target
This is Lightning Effect
If you want other effect...

  • Special Effect - Create a special effect at Target using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
This is just an example of it

I'm just doing the basic spell, not the eye-candy spell
 
Meh, this is what I got.
  • Trigger
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Death Coil X 3
    • Actions
      • Custom script: local unit Target
      • Custom script: local real Real_amount
      • Custom script: local integer Int
      • Set Target = (Target unit of ability being cast)
      • Set Real_amount = 80.00
      • Set Int = Int
      • Set temp_point = (Position of Target)
      • For each (Integer Int) from 1 to 3, do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees
          • Unit - Add Death Coil X 3 [Dummy] to (Last created unit)
          • Unit - Order (Last created unit) to Night Elf Warden - Shadow Strike Target
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Target belongs to an ally of (Owner of (Triggering unit))) Equal to True
            • Then - Actions
              • Unit - Set life of Target to ((Life of Target) + Real_amount)
            • Else - Actions
              • Unit - Cause (Triggering unit) to damage Target, dealing Real_amount damage of attack type Spells and damage type Universal
          • Custom script: call RemoveLocation(udg_temp_point)
          • Wait 0.50 seconds
If you want your channel, simply add Pause Triggering Unit before the For Each Integer loop and Unpause Triggering Unit after the For Each Integer loop. You can add in your own effects.
 
Meh, this is what I got.
  • Trigger
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Death Coil X 3
    • Actions
      • Custom script: local unit Target
      • Custom script: local real Real_amount
      • Custom script: local integer Int
      • Set Target = (Target unit of ability being cast)
      • Set Real_amount = 80.00
      • Set Int = Int
      • Set temp_point = (Position of Target)
      • For each (Integer Int) from 1 to 3, do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees
          • Unit - Add Death Coil X 3 [Dummy] to (Last created unit)
          • Unit - Order (Last created unit) to Night Elf Warden - Shadow Strike Target
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Target belongs to an ally of (Owner of (Triggering unit))) Equal to True
            • Then - Actions
              • Unit - Set life of Target to ((Life of Target) + Real_amount)
            • Else - Actions
              • Unit - Cause (Triggering unit) to damage Target, dealing Real_amount damage of attack type Spells and damage type Universal
          • Custom script: call RemoveLocation(udg_temp_point)
          • Wait 0.50 seconds
If you want your channel, simply add Pause Triggering Unit before the For Each Integer loop and Unpause Triggering Unit after the For Each Integer loop. You can add in your own effects.

So what about variables? :P
 
I will create the spell for you mon (;

Done the spell.

The current spell: Deals/heals 75/150/225 damage per second. CHANNELING.
What can be changed. Duration of channel (1 second=25 penitence_time), damage (just change the formula (it's 75xlevel)), special effect. (you'll see where). Damage/heal. err, everything :D Even the interval (just change the conditions (as already mentioned, 1second=25)

Attaching the map.

The spell is called Penitence.

Tiche3
 

Attachments

Last edited:
I will create the spell for you mon (;

Done the spell.

The current spell: Deals/heals 75/150/225 damage per second. CHANNELING.
What can be changed. Duration of channel (1 second=25 penitence_time), damage (just change the formula (it's 75xlevel)), special effect. (you'll see where). Damage/heal. err, everything :D Even the interval (just change the conditions (as already mentioned, 1second=25)

Attaching the map.

The spell is called Penitence.

Tiche3

Ty very much
 
Status
Not open for further replies.
Back
Top