QUOTE(lll @ Mar 1 2006, 11:27 PM)
Na its possible cause im the first one to do it. Im not gana actaully tell you haha cause I dont wana give away alot of my map coming up. But its very possible with triggers and no ued's. Actaully pretty simple. Think about it you will come up with something.
[right][snapback]437437[/snapback][/right]
That was useless... Why the hell would you waste my time and others by saying useless stuff like that? Either help out by explaining, or stop padding your post count by telling people how bad their ideas are. Unlike yourself, some people are actually trying to figure this out and help.
As for people who actually care, the reason I cant have the wraith dying on me and therefore being detected for cloakability is because I want to be able to use the wraith. Let me break it down.
If the wraith is cloaked, kill units at the wraith's position. So, when I move around with a cloaked wraith, all the units under it will die. Otherwise, if the wraith is not cloaked, don't kill the units.
The reason I can't use the obvius detection (if wraith is there, bad guys kill it, if not, bad guys dont see it) is becasue I want to be able to use the wraith constantly. Once I figure out how to do it with triggers or UED, I plan to set a condition so that the wraith's energy is constantly at 100%, so that this condition is always working.
ADD:
I think I have a solution. Its pretty much like Kenoli's thread. If I have scourges near the wraith owned by an enemy, they'll only attack the warith when it's not cloaked thus killing themselves. When death count is greater than one, plane is not cloaked. I would constantly have to recreate scourges and fix death count. Ofcourse, this is a very buggy approach but its a start. Im thinking of something like energy levels. It'll take a certain energy amount for the wraith to cloak. If I can somehow detect the wraith's energy level, I can go from there.
ADDITION:
SOLUTION:
I tried to expand from the buggy stuff I had before and got something I can go with.
Here's the breakdown.
I had a 1x1 loc centered on the wraith. I also had about a 4x4 loc centered on the wraith.
I introduced some triggers. One was to constantly reheal the wraith. Another was to recreate a scourge(invicible) at the 1x1 loc whenever there were no more scourges on the map. Another was to tell the scourges to constantly attack the units at the 1x1 loc(centered on wratih).
The main trigger was: When there are no scourges at the 4x4 loc, kill all *units i wanted* at that loc.
Explanation:
When the wraith is cloaked, the scourges cannot attack the wraith because it is cloak, they do not see it. At that point, there is a scourge simply following the warith, and the trigger to kill units is not set.
When the wraith is unloacked, the scourges can attack the wraith. When the scourge attack the wraith, it dies, and for a split millisecond, there are no scourges at the 4x4, 1x1 loc. At that point, any units at the 1x1 loc are killed off and a new scourge is created.
The only concern is the speed of the wraith. I now want to find a way to really slow down the wraith to the speed of the scourge, but that is secondary.
I really want to thank you guys for the ideas that really helped develop this.