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

[JASS] Fastest way to do...

Status
Not open for further replies.
Level 12
Joined
Mar 23, 2008
Messages
942
I have a spell that make all allied units in a area invulnerable, the spell is channel and if the unit get out of the area or the unit stop channeling the unit must become vulnerable again.

So, what is the best way to do it? Unit group and check if its in range?

Edit: Also, what is the best way to damage unit in line in a shockwave like ability? How can I move the unit damaging but don't damage twice the same unit.
 
Last edited:
Do you mean "Big Bad Voodoo" spell of orc's witch doctor? It's a melee spell, no trigger needed, all auto.

Shockwave would not damage a unit twice, if you want a knock back system, search is your best friend, but most is in jass.

Btw, it's not a must to use jass, using it would waste more time.
 
Also, what is the best way to damage unit in line in a shockwave like ability? How can I move the unit damaging but don't damage twice the same unit.

if u wanna have a moving projectile u just move it and check for units in range and if u only want to damage them once check if they are not in a specified group, and when u damage them add them to a the specified group
 
Do you mean "Big Bad Voodoo" spell of orc's witch doctor? It's a melee spell, no trigger needed, all auto.

Shockwave would not damage a unit twice, if you want a knock back system, search is your best friend, but most is in jass.

Btw, it's not a must to use jass, using it would waste more time.
Its not like big bad voodoo, you can target any area you want, but you gave me a idea to put a dummy unit channeling it lol...

I don't want shockwave since I want to do variable damage.

I already have a knockback system, thank you, but I don't need it since there inst knockback in that spell o.o

---------------------------------------------------------------

@Ciebron

So, that is the best way? I don't know if checking a group every time the damage something will lag.
 
Status
Not open for further replies.
Back
Top