Unit Group

Status
Not open for further replies.
Level 4
Joined
Dec 27, 2008
Messages
72
Hey I have a basic question,

I have a roof, which becomes transparent when a unit belonging to player 1 / 2/ /3 /4 walks in.
The Animation Action (set color / transparency) only for works a single unit.
I can't figure out how to set my group of units (the roof) to a unit variable for it to work.
Any suggestions?
 
if the roof is pre-placed then just have a unit variable set to the roof otherwise when the roof is created set a variable of type unit to it.

unitgroup - pick every unit in (YOUR_ROOF_UNITS) and loop actions:
transperate....... (Picked Unit).

that will cause all roofs to become transparent, but if there is more then one building you need to separate the roofs from the unitgroup. However if it is just one building using many roof pieces then this trigger is ideal.
 
Status
Not open for further replies.
Back
Top