Sounds to me like you need the
knowsabout command combined with a switch trigger.
Command: KnowsAbout
Description: Tells how much one unit knows about another.
Syntax:Unit1 KnowsAbout
Unit2 Unit1 is the name of a unit
Unit2 is the name of another unit
Returns:Value between 0 and 4.
0 means
Unit1 does not know about
Unit24 means
Unit1 knows exactly where
Unit2 is, and what he is.
This value will decrease over time and distance. Will also lower if unit1 is not in view of unit 2 (i.e. behind bushes).
Notes:Units will not fire at an enemy unit if the knowsabout value is 1 or less.
Example: Place this inside the condition field of your trigger:
?(MyScout KnowsAbout MyEnemy > 2)
i'm not too hot on advanced syntax myself
but It would seem to me that you might be able to put the following into the init line of your scout group leader perhaps:
MyScout=group this
to make the entire scout group be able to set off the trigger by detecting the named enemy.
:cheers: