• 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] action event

Status
Not open for further replies.
Level 2
Joined
Apr 2, 2006
Messages
17
how would i make a action say matching condition like

Unit group - Pick every unit in (units within 300.00 of (target point of ablilty being cast) matching (((((((Picked unit)is alive) equal to true) and ((((Owned of (Picked unit)) is and enemy of (owner of (triggering unit)))

all i have is
Pick every unit in (Units within 300.00 of (target point of ability being cast)) and do Action

how would i make the action say Matching (these conditons) ????
 
Level 2
Joined
Jun 22, 2007
Messages
10
Every unit in range matching condition.

Next time you find a problem that could easily be resolved by opening the editor and looking around for 5 minutes, could you please just do so?
 
Level 2
Joined
Apr 2, 2006
Messages
17
i am developing a spell but i cant get it workin, can anyone tell me whats wrong with my map, and fix it for me and explain to me what was the problem! :D
 

Attachments

  • WEE GOOO BOOGIE.w3x
    54.3 KB · Views: 49
Level 2
Joined
Apr 2, 2006
Messages
17
  • Dummy
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to holylight
      • ((Picked unit) is alive) Equal to True
      • ((Owner of (Picked unit)) is an enemy of (Owner of (Triggering unit))) Equal to True
    • Actions
      • Set Holycaster = (Casting unit)
      • Unit Group - Pick every unit in (Units within 300.00 of (Position of (Casting unit))) and do (Actions)
        • Loop - Actions
          • Set targetcount = (targetcount + 1)
          • Set targets[targetcount] = (Picked unit)
      • Wait 0.50 seconds
      • Unit - Make Holycaster Vulnerable
      • Unit - Make targets[targetcount] Invulnerable
      • Unit - Pause Holycaster
      • Set Temp_Point[1] = (Position of Holycaster)
      • Special Effect - Create a special effect at Temp_Point[1] using HolyTornado.mdx
      • Animation - Play targets[targetcount]'s stand animation
      • Unit - Make targets[targetcount] face (Casting unit) over 0.90 seconds
      • Unit Group - Pick every unit in (Units within 300.00 of (Target point of ability being cast) matching ((((Picked unit) is in (Units within 300.00 of (Target point of ability being cast))) Equal to False) and (((Picked unit) is in (Units within 400.00 of (Target point of ability being cast)) and do (Unit - Make (Picked unit) face (Casting unit) over 0.90 seconds)
 
Last edited by a moderator:
Status
Not open for further replies.
Top