• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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 12
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: 86
Status
Not open for further replies.
Top