• 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] Spell to a Random Region

Status
Not open for further replies.
Level 2
Joined
Nov 1, 2008
Messages
15
i want make a spell to one of my 120 region (exemple)

Boss is alive = true

(do the spell all over the region X)

like cast minion or poison or damage

what trigger i need to use ?
 
Level 2
Joined
Jul 8, 2009
Messages
6
It was difficult for me to understand your question, but this may help.
  • Untitled Trigger 001 Copy
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to YOUR SPELL
      • ((BOSS) is alive) Equal to true
    • Actions
      • Unit - Cause (YOUR UNIT) to damage circular area after 0.00 seconds of radius (YOUR SIZE) at (Center of (YOUR REGION)), dealing DAMAGE NUMBER damage of attack type Spells and damage type Normal
This will cause damage in a circle. Considering all regions are squares this would mean the damage will be a bit larger than the region you wanted. Otherwise I would have to get into JASS.
Hope this helps.
 
Level 5
Joined
Jan 5, 2008
Messages
145
ummm i would do

Event w/e

Conditions
Boss = Alive
Spell = To Poison Wave "Random Spell xD"

Actions
Set All Units Not Owned By Owner Of Boss To Players Heros
Set Spell = None
Set Regions [120]<--- Array

If All Conditions Are True Than Or Else

Conditions

Boss Is Within XXX Of Players Heros

Than Actions

If Than Else

If
Boss Is Within XXX Of Random Region In Regions [120]

Than Actions

Loop Actions

Anamation Change Color Of Boss To "Green"
Anamation Play Casting Anamation
Create Special Effect Of Type W/e In Random Region In 1-120
For Regions 1-120 Do Damage Of XXX Type w/e To Units In Region Not Equal To Owner Of Boss.
Custom Text:Destory Speacial Effect 1-120
Custom Text : Destory Regions
Custom Text Destory Variables Etc

Else Actions

Do Nothing "Don't Actuly Put Anything Here Cause It Does Nothing And Just Increases Size Even If Its not Much. Less File Size = :D"


I Think That Might Help But I Need To Open W.e And Check Since Im On My Laptop And My Laptop Doesnt Have wc3. i hoped that helped
 
Level 13
Joined
Nov 22, 2006
Messages
1,260
In "Events" you put WHEN do you want the trigger to fire, in "Conditions" you put a boolean check if the boss is alive, in "Actions" I suppose you can make tons of dummy units to cast the spells over the region. First you need to figure out how dense you want the spells to be, then the rest is pretty easy, just simple math.

You can check tutorials on triggered spells to read about dummy units.
 
Status
Not open for further replies.
Top