• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Trigger request

Status
Not open for further replies.
Level 37
Joined
Mar 6, 2006
Messages
9,240
1. Copy the ability item damage bonus +1.
2. Set the amount of levels to 10
3. Edit the level stats, se t level 1 damage bonus to 0, lvl 2 to 5, lvl 3 to 10 and so on.
4. Use these triggers:

  • Untitled Trigger 002
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Set Temp_Group = (Units in (Playable map area) matching (((Unit-type of (Matching unit)) Equal to Tie Em Upps) and (0 Equal to 0)))
      • Unit Group - Pick every unit in Temp_Group and do (Actions)
        • Loop - Actions
          • Unit - Add Item Damage Bonus (+1) to (Picked unit)
      • Custom script: call DestroyGroup(udg_Temp_Group)
  • Untitled Trigger 003
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Triggering unit)) Equal to Footman
          • (Unit-type of (Triggering unit)) Equal to Knight
    • Actions
      • Unit - Add Item Damage Bonus (+1) to (Triggering unit)
  • Increase damage
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Player number of (Owner of (Triggering unit))) Equal to 13
    • Actions
      • Unit - Set level of Item Damage Bonus (+1) for (Killing unit) to ((Level of Item Damage Bonus (+1) for (Killing unit)) + 1)
The first trigger picks up all units you tell it to in the map when it loads and adds the ability for them.
The second trigger adds the ability to all units that are trained/spawned.
The third trigger levels up the skill when the unit kills units owned by neutral hostile.

You need to be more specific with the multicast thingy.
 
Status
Not open for further replies.
Top