I am trying to get a computer player to use a scanner sweep on my cloaked units every time they attack the computer. I figured that I would just need to give the computer player the buildings required and lower the energy to 0 for a scan sweep. Oh, and i also made the computer terran just in case.
I cant get it to work, any ideas anybody?
None.

>be faceless void >mfw I have no face
Are you running any AI scripts?
Red classic.
"In short, their absurdities are so extreme that it is painful even to quote them."
No, do you know which ai script would i need? I didnt think i would need AI scripts for that..
None.
I believe that the computer will only sweep if there are no uncloaked units nearby. Maybe that's your problem.
None.

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
Or maybe he's sending a mobile detector (e.g. Overlord, Observer, etc.) instead?
Are you certain the comsat is properly attached to the CC?
If an AI script is needed (not sure) any melee script should suffice.
It also could be that it needs to be a Terran Computer.
(Sorry if any of my suggestions is obviously wrong, I'm beginning to become a bit rusty on those details.)

SDE, BWAPI owner, hacker.
Computer needs to run ANY AI script. Script doesn't need to be terran. Computer doesn't need to be Terran. Computer must be unallied and unvisioned to you.
Attacking or killing any unit owned by the computer with a cloaked unit will cause it to scan or move a detector to where the attack took place.