Thanks, but that's not really the issue. Like I said above, it's easy for any unit to find out if it's an ally (ally.?) or not an ally (!ally.?), but the challenge was to let a non-allied unit find out that there are other units in the roster that are in fact allies.
Here's how I ended up doing it. It feels a bit kludgy, but it works, so I'm keeping it for now.
Added a global linkset ("is_ally"), which has a Live condition (ally.?) and includes an option ("ally") which includes an autotag ("mixed_army"), which is a global tag, and therefore visible to even the non-allies.
|