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

How Would I Make This Spell Heal Allies

Status
Not open for further replies.
Level 1
Joined
Nov 13, 2007
Messages
3
I'm Having Trouble Getting This Spell To Heal Allies Would Anyone Know How

TRIG.jpg
 
Level 13
Joined
Nov 22, 2006
Messages
1,260
Why Are You Capitilizing Each Word?

Wtf? Use trigger tags, so wrap your trigger code into [trigger][/trigger], so:

[trigger]Some Trigger
Events
Unit - A unit does something
Conditions
Something is equal to Something
Actions
Do nothing[/trigger]

Will look like this:

  • Some Trigger
  • Events
    • Unit - A unit does something
  • Conditions
    • Something is equal to Something
  • Actions
    • Do nothing

Much nicer, I must say......

Btw, your question is totally vague, first of all, what is Heal_Ward_Formation variable? You need to heal allies how? Allies to which player?
 
Level 13
Joined
Nov 22, 2006
Messages
1,260
Then just make your trigger heal allies? If you don't have a clue how to heal allies, then your spells are certainly lame, flashy can be lame too, you know.

If you really want to know how to do that, it's like this: create a unit group (variable) named HealingGroup (for example). Then when you want to heal allies, just use "Pick every unit in group and do actions" action and heal them the way you healed...........Heal_Ward_Formation?? Didn't you say that Heal_Ward_Formation is a spell?? You know, you're the first one who managed to HEAL A SPELL!!!! That variable is not a spell, it's a unit, so I'm asking you again, what is Heal_Ward_Formation?
 
Level 13
Joined
Nov 22, 2006
Messages
1,260
I know it's a unit, you can't put a spell as a parameter in "set unit life". I was just pointing out that he said that Heal_Unit_Formation is the spell, but it's not (I wasn't sincere when I said that he healed a spell, you think I'm an idiot? :D)
 
Status
Not open for further replies.
Top