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

[Solved] Group Trigger help?

Status
Not open for further replies.
Level 9
Joined
Feb 16, 2011
Messages
595
I'm trying to make a trigger where when the unit is building a structure that structure is added to a group but unfortunately I can only find the code for the reverse of that help please?
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,219
a quite simple request.
  • Melee Initialization
    • Events
      • Unit - A unit Finishes construction
    • Conditions
      • (Unit-type of (Constructed structure)) Equal to Altar of Kings
    • Actions
      • Unit Group - Add (Constructed structure) to your_unit_group_variable
remove the condition if you want it to work for every single building
 
Level 9
Joined
Feb 16, 2011
Messages
595
Well I guess silly me I was trying to have it be if it was from the peasant in general lol I completely forgot I could do that thanks for reminding me +rep
 
Status
Not open for further replies.
Top