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

need help on a trigger

Status
Not open for further replies.
Level 31
Joined
Jul 7, 2008
Messages
4,185
so, i keep trying things over and over again and nothing works, so i came to here. I know it's a simple trigger but im still very new :/

i want it to do this:

a hero enters a region (i already set the trigger for and it works) and then he gets control of all the neutral units in that region. then it displays text. i know it's working because the text displays, its just the neutral units going to the hero i need help on, how do i do this?
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
  • Untitled Trigger 073
    • Events
      • Unit - A unit enters Region 015 <gen>
    • Conditions
    • Actions
      • Set Temp_Group_1 = (Units in Region 015 <gen>) // you can use matching condition...
      • Unit Group - Pick every unit in Temp_Group_1 and do (Actions)
        • Loop - Actions
          • Unit - Change ownership of (Picked unit) to (Owner of (Triggering unit)) and Change color
      • Custom script: call DestroyGroup(udg_Temp_Group_1)
You mean changing owner or what by "gets control"?
 
Status
Not open for further replies.
Top