I'm trying to understand, by looking at the trigger above, how this would work as I'm still mediocre at some of this stuff... so please bear with me.
How does it actually detect how many units are in the area though? I see that TempInt (I'm assuming is the number of units) is set to 0 originally, then you have a basic arithmetic action adding +1 to it. But how does it actually set it to the number of units?