Is there any way casting psionic storm or getting energy down to a percentage be a condition not an action?
Explain, conditions and actions does two seperate tasks, an cause and effect. I don't really see what you mean.
If you mean detecting psionic storm, its not possible.
If you mean detecting the amoung of energy for a unit, it's not possible.
He means can you have a condition like "Current Unit has at least 50 energy"... And the answer is as you said, no.
Ok well then I'll just go with my other idea of giving the unit to the computer so they cast it "for you"
QUOTE(Medieval_Massacre @ Jun 2 2005, 01:12 AM)
Ok well then I'll just go with my other idea of giving the unit to the computer so they cast it "for you"
That'd be your best bet... Here's the page that tells you what conditions need to be met in order for the computer to cast a spell...
http://www.staredit.net/index.php?tutorial=175Thnx killer I don't think I would have looked for that.
Just note that it will be hard to reliably make the computer cast storm for you, and "control" it.
Well i was thinking of having the units give to the computer and then they will see the enemy units and cast
Well. Good luck with that

The spells that can be immediately detected are Dark Swarm, Disruption Web, Hallucination, Spawn Broodling, Mind Control, and burrow (If you count that as a spell.)
Can't remember others at the moment.
Well im using all of those except burrow, but cant you detect scanner sweep as well? Anyways its not so much about the actual cast its just about the unit and which choices of spells and triggers they get
You can detect scanner sweep with the "command" condition, but I haven't been successful in centering a location on a scanner sweep.
Rantent: how do you detect hallucinations? I'm pretty sure they don't count as units, and don't satisfy the "bring" or "command" conditions.
Well I used a similar way to detect burrowing units. It's basically the same sort of function as unburrowing.
You constantly move a unit back and forth between two locations, one of which contains the unit to be hallucinated. When units are created on top of on another, the newer unit almost always (there are a few unit exceptions) goes below the older unit. If the location is the right size, hallucinating would take the space of the teleporting unit. That unit cannot move to the location, the trigger to move back fails, when that happens, you can say you detected the hallucination. You can carry out the remainder of you triggers for that event.
[attachmentid=9881] A simple map I made to show how this works.
Granted this is rather complex for detecting something such as this. But it works
For detecting Hallucination one could also have a reaver belonging to an enemy player within firing range of a non invincible unit also belonging to that enemy player. Thus, when hallucinations (controlled by the player, who the computer is set to enemy with) appear, the reavor will attack them, creating a scarab, which can then be detected. I used this same method to detect burrowing.
Of course, this system is impractical to use except as a differnt kind of chooser.
Hmm... ok.
Unfortunately, neither method is very useful when there are other units around.
Can someone confirm whether Scanner Sweeps satisfy the "bring" condition or if a location can be centered on them?
It will not satisfy the bring condition. I'm pretty sure of that. Someone tried it before long long ago.