| 08-12-2006, 02:59 AM | #1 |
I have another thing which I'm not sure exactly how to make. I'm trying to create a healing well that is neutral, but can be claimed by going close to it. However it can't be claimed if there are any enemies within say 1000 range. If an enemy unit comes within that range, while the well is under your control, the well will go back to neutral, until you have scared them off, then you can reclaim it. Any ideas on how this could be accomplished? Exact triggers would be nice. Thanks. ![]() |
| 08-12-2006, 06:38 AM | #2 |
| 08-13-2006, 12:44 AM | #3 |
I don't think you read my first post completely, lol. I know the very basics, but I don't know how to make the well not able to be claimed if there are any enemies within 1000, or go back to neutral if an enemy comes within range while it's under your control. If you can elaborate on your answer, or someone else could help, it would be greatly appreciated. |
| 08-13-2006, 12:47 AM | #4 |
Enum group in 1000 range count units if > 0 there is units if 0 no units turn neutral. Its not a trigger, its jass functions based only |
| 08-14-2006, 05:11 AM | #5 |
Lol, as I said, I only know the very basics. If you could be kind enough to elaborate, maybe give the code so I can cnp it and then edit it, that would be great. Ty |
| 08-14-2006, 10:27 AM | #6 | |
Quote:
It dosent Enum units. The trigger runs when a unit comes in range of 1000. If the unit is already their, then it wont pick it up. Its when a unit comes in range of 1000, not any less or any more. If you blinked into the area, it wouldent trigger (so i persume). |
| 08-19-2006, 10:57 PM | #7 |
Im still not sure exactly how to do the trigger, if someone can give it in [trigger] tags that would be nice. ty. |
