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

[Trigger] Help

Status
Not open for further replies.
Level 9
Joined
Jun 20, 2008
Messages
476
Now im making a new map and i made 1 custom unit called Army of Swordman
Also i made an ability named fuse an if two of them of the same type use fuse on eachother one of them should gain 2 hp and 1 mana
heres what i have now

  • swordman1
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Fuse
      • (Unit-type of (Casting unit)) Equal to Army of Swordman
      • (Unit-type of (Targeted unit)) Equal to Army of Swordman
    • Actions
      • Unit - Set mana of (Targeted unit) to ((Percentage mana of (Targeted unit)) + 1.00)
      • Unit - Set life of (Targeted unit) to ((Percentage life of (Targeted unit)) + 2.00)
      • Game - Display to (All players) the text: test
it wont work please help (cred and rep wil be given)
 
Level 13
Joined
Apr 15, 2008
Messages
1,063
Here, it's almost on bottom of the function list:
attachment.php
 

Attachments

  • unit property.gif
    unit property.gif
    4.3 KB · Views: 97
Status
Not open for further replies.
Top