Ok maybe nearestobject isn't the right command for this situation. I need a way (in a script) that can find the closest enemy (enemy is west) soldier. I need to detect him and assign him to a local name, _target... if it isn't possible to detect any class of soldlier, I guess I could make an array of classes, but it would be alot better to just get the closest enemy soldier... So any ideas?