• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

[Trigger] artillery strike

Status
Not open for further replies.

mik

mik

Level 4
Joined
Dec 13, 2007
Messages
59
hmmm... theres a "unit-damage area" trigger, but i think you dont want the damage in a circle-shaped area, but in exactly the rectangular area you have made..?

maybe try this:

first, let every unit in it instant move to their location (seems to do nothing at all, but->)

second:

  • triggger
    • event
      • unit - A unit enters (chosen area)
    • conditions
      • add a condition like a boolean variable comparison to make sure this resovles only when you want it to
    • actions
      • unit - Cause (origin of damage) to damage (Triggering unit), dealing xxxx damage of attack type yyy and damage type zzzz
just an idea, dunno if it works or is too complicated.
and sry for weird trigger names/icons, had to translate some things manually.
 
Level 5
Joined
Aug 16, 2007
Messages
149
easy. do this:
  • Damage Units
    • Events
      • [Your Event]
    • Conditions
      • [Your Conditions]
    • Actions
      • Unit - Cause [aaa] to damage circular area after [bbb] seconds of radius [ccc] at (Random point in [Your Region]), dealing [xxx] damage of attack type [yyy] and damage type [zzz]
 
Status
Not open for further replies.
Top