• 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.

Any better trigger?

Status
Not open for further replies.
Level 5
Joined
Oct 16, 2013
Messages
81
See. I made my map using:
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Prime Comes))) Equal to True) then do (Unit - Create 1 Vir for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Unit - Order (Last created unit) to Attack-Move To (Center of Region 002 <gen>)

Problem is I got 4 different forces[same team] going to 3 different places. Summing up to 12 triggers for a team attack.
Any better method other than jass or something like that? (I'm a noob)

Lastly, I use
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Leveling Hero)) Equal to Braydon Browning
Then - Actions
Hero - Learn skill for (Leveling Hero): Earth Fury
Hero - Learn skill for (Leveling Hero): Holy Light
Hero - Learn skill for (Leveling Hero): Resurrection
Hero - Learn skill for (Leveling Hero): Devotion Aura
Else - Actions
Will my hero use those custom skills when he level up? Provided my event&condition are ok.
Thanks.
 
Last edited:
Level 5
Joined
Oct 16, 2013
Messages
81
My 4 different forces spawn at different time intervals. And I got no idea about custom script and variables.
 
Level 5
Joined
Oct 16, 2013
Messages
81
4 different forces = 4 triggers for 1 region
3 regions= 4X3 triggers =12 triggers
sorry , my mistake in the description.
 
Status
Not open for further replies.
Top