Hi, i am having some problems here 
I need with triggers, get the amount of units loaded into a specific type of building(like Orc Burrow), the problem is that i have 4 different types of this building which they load units in it.
So.. i intented to try something different.

Thanks!
I need with triggers, get the amount of units loaded into a specific type of building(like Orc Burrow), the problem is that i have 4 different types of this building which they load units in it.
-
Update Income
-

Events
-


Time - Every 10.00 seconds of game time
-
-

Conditions
-

Actions
-


For each (Integer Int_Counter) from 1 to 12, do (Actions)
-



Loop - Actions
-




Set Income[Int_Counter] = 0
-




Unit Group - Pick every unit in (Units owned by (Player(Int_Counter)) of type Worker (Blood Elf)) and do (Actions)
-





Loop - Actions
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








((Picked unit) is being transported) Equal to True
-








(Unit-type of (Transporting unit)) Equal to Lumber Mill
-
-







Then - Actions
-








Game - Display to (All players) for 5.00 seconds the text: In!
-
-







Else - Actions
-








Game - Display to (All players) for 5.00 seconds the text: Out!
-
-
-
-
-
-
-
-
-
(Unit-type of (Transporting unit)) Equal to Lumber Mill
So.. i intented to try something different.
-
Elf enter lumber
-

Events
-


Unit - A unit Is loaded into a transport
-
-

Conditions
-


(Unit-type of (Transporting unit)) Equal to Lumber Mill
-
-

Actions
-


Unit - Set the custom value of (Transporting unit) to ((Custom value of (Transporting unit)) + 1)
-
-
Thanks!
