Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
TheSkyStarKnight

Creating an Array of units not in a trigger zone.

Recommended Posts

So, I'm officially stuck. I've been looking everywhere, but I can't seem to find out how to create an array based on units that are NOT in a triggerzone. I discovered that it is fairly simple to collect an (_x array) of units inside of a trigger, however once I use this command:

 

_List = list trigger;

 

It gives me an empty array of units since nobody is in the trigger, even though the trigger is set to "ANY", "NOT PRESENT".

 

Any ideas?

Share this post


Link to post
Share on other sites
2 hours ago, Harzach said:

That said, maybe something like


_list = allUnits - (list trigger);

 

Thankyou! I never even thought of using these simple methods with Arrays. It works perfectly.

  • Like 1

Share this post


Link to post
Share on other sites

×