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