• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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