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

Detonation

Status
Not open for further replies.

x3m

x3m

Level 3
Joined
Apr 11, 2008
Messages
51
Just use the triggers with if hotkey "whateveryouwant" is pressed. Action - Kill the peasant. You can't miss it if you look for it : )
 
Level 25
Joined
Mar 23, 2008
Messages
1,813
Take some ability that uses directly when you press it, for example burrow then use this trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to *Your unit*
      • (Ability being cast) Equal to *Your skill based on for example burrow*
    • Actions
      • Unit - Explode (Triggering unit)
      • Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at (Center of (Playable map area)), dealing 100.00 damage of attack type Spells and damage type Normal
With this it will explode when you presses the skill, dealing damage to EVERYTHING, if you want it to just deal damage to units/enemies/buildings/whatever you have to create a action like: pick every unit matching *then you add like *is a building equal to false* and so on. You can also add a special effect for more dramatic effect :).
----------------
Yay, my threehundred post! :)
 
Status
Not open for further replies.
Top