- Joined
- Dec 6, 2007
- Messages
- 233
I'm trying to make a stealth generator. My method is to draw a region around the generator, and if a unit enters the region, give it permanent invisibility, and if they leave the region, take that invisibility away. To make the trigger recognize the generator, i set it to a variable. To make this multiinstanceable, i made the variable an array (i have a special system that automatically sets new generators to the next number up in the array). But here is where i ran into my problem. I can't seem to be able to take units from an array and use them for actions involving one unit, or at least in the fashion that i am attempting. What i'm trying to do is draw a region around every unit in that array and perform an action when a unit enters any of those regions. Any help?