So I've done all of that, but the ghosts still aren't firing decloak shots at my unit. I thought it might have been because the units weren't set up, but I used the action to do that and still no dice. http://peeeq.de/gui.php?id=3832
Ok, so. I still can't Blizzard's triggers to work, but the basic mechanics are pretty solid. All you need to do is to pick each unit in the region you're looking for, check if it has the ConeDetected behavior, and then do whatever your action is. You can add the DetectorCone9 behavior to any unit you want, as near as I can tell, though the cone will only appear in-game. If you want to see the cone in the editor itself, you need to add this actor message:
Any of you gotten the stealth system working? I did some investigation, but so far have come up empty. Here's what I do know:
There's an action to init Stealth AI Defend Region: http://peeeq.de/gui.php?id=3827. That does some setup stuff and then runs this trigger: http://peeeq.de/gui.php?id=3828 . (edited) That trigger just constantly iterates over every defend region and, if it's active, runs the Stealth AI Defend Region action: http://peeeq.de/gui.php?id=3829.
So that seems like the basics. Now, unless you're using Nova, you need to add the unit you're hunting to the stealth enemy group: http://peeeq.de/gui.php?id=3830 . And you also need to actually turn the region on: http://peeeq.de/gui.php?id=3831 .
So I've done all of that, but the ghosts still aren't firing decloak shots at my unit. I thought it might have been because the units weren't set up, but I used the action to do that and still no dice. http://peeeq.de/gui.php?id=3832
I'm pretty well stumped. Any ideas?
Ok, so. I still can't Blizzard's triggers to work, but the basic mechanics are pretty solid. All you need to do is to pick each unit in the region you're looking for, check if it has the ConeDetected behavior, and then do whatever your action is. You can add the DetectorCone9 behavior to any unit you want, as near as I can tell, though the cone will only appear in-game. If you want to see the cone in the editor itself, you need to add this actor message:
UnitBirth
IsInEditor
Create DetectionCone9Guide
Happy hunting!