| 08-19-2006, 01:35 AM | #2 |
(Number of units in (Units within 60.00 of Temppoint matching (((Matching unit) is An Ancient) Equal to True))) Greater than 0 unit group (Number of units in (Units within 50.00 of Temppoint matching ((Unit-type of (Matching unit)) Equal to Checkpoint Circle))) Greater than 0 another (Number of units in (Units within 50.00 of Temppoint matching ((Unit-type of (Matching unit)) Equal to Circle of Reward))) Greater than 0 again Set Temppoint_2 = ((Position of (Picked unit)) offset by (Random real number between 0.00 and 50.00) towards (Random angle) degrees) point...polar projection can leak one as you can see. (Number of units in (Units within 100.00 of Temppoint matching ((Unit-type of (Matching unit)) Equal to Jumper))) Greater than 0 another group (Number of units in (Units within 50.00 of Temppoint matching ((Unit-type of (Matching unit)) Equal to Portal Circle))) Greater than 0 and another that's about it. i recommend that you use Leak Check for large triggers like this. its a handy little tool that checks for leaks in gui - and to be honest the above leaks are discovered using it. ![]() |
| 08-19-2006, 07:46 AM | #3 |
Set Temppoint_2 = (Position of (Picked unit)) leaves a location, and sets the var to a new one. |
| 08-19-2006, 01:49 PM | #4 |
Trigger: Waldo - Is hereTHERE YOU ARE! |
| 08-19-2006, 03:49 PM | #5 | |
Quote:
How would I possibly fix that? |
| 08-19-2006, 03:53 PM | #6 |
well as far as i can see you removed that location so its not a leak...nothing to fix there. |
| 08-20-2006, 07:33 AM | #7 |
GUI is so anoying(?), it always crashes my brain straight to the wall. I never saw the GUI RemoveLocation. |
| 08-20-2006, 04:34 PM | #8 |
That's a WEU feature. Otherwise, you need a custom text function. But thanks to SFilip and the leak finder, the map is now leak-free! |
| 08-20-2006, 05:10 PM | #9 |
Code:
Set Temppoint_2 = ((Position of (Picked unit)) offset by (Random real number between 0.00 and 50.00) towards (Random angle) degrees) so..... Code:
Set unitLoc = Position of (Picked unit) Set Temppoint_2 = (unitLoc) offset by (Random real number between 0.00 and 50.00) towards (Random angle) degrees) |
| 08-20-2006, 05:14 PM | #10 |
correct |
