...based on a position? Having some problems with this one, without it having to go way too complicated. Enemy AI artillery system have a possible target, but need to find out if they have some of their own units in the area. I've tried findNearestEnemy, based on one of our units, but that requires us to know about the enemy. Not always we do that. Basically, a function like: [_position, "east"] call fn_nearestfriendlyunit gives back an object or objNull. Any suggestions? I don't want to use reveal btw. Edit: It's important that I don't use the actual target, but a position, since I'm basing the risk on where the target will end up after projectile flight time.