nullsystems 0 Posted August 23, 2007 Taken from ArmA Wiki.. _nObject = nearestObject [player, "StreetLamp"] Any idea what the ENEMY would be in that array? Example: _nObject = nearestObject [player, "enemy"] _nObject = nearestObject [player, "sla"] _nObject = nearestObject [player, "east"] ...etc None of those return the value of AI or enemy to the player. Could anyone help at all ? Share this post Link to post Share on other sites
HulkingUnicorn 0 Posted August 23, 2007 SoldierEG is the base for SLA soldiers, so you could try to use that. Share this post Link to post Share on other sites
nullsystems 0 Posted August 23, 2007 SoldierEB SoldierEG SoldierE Ive tried all those, none of them return. I know the system works, because if I use " man " I find myself, but those dont. Odd. Any other ideas? Share this post Link to post Share on other sites
HulkingUnicorn 0 Posted August 23, 2007 What about SoldierE or SoldierEMedic, for example? Share this post Link to post Share on other sites
nullsystems 0 Posted August 23, 2007 As I said, SoldierE doesnt work either. None of the class names listed on Arma Wiki respond Share this post Link to post Share on other sites
HulkingUnicorn 0 Posted August 23, 2007 I better learn to pay attention Have you tried using nearestObjects? <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_objects = nearestObjects [player, ["SoldierEB"], 200]; Edit: Btw, how far away did you put the enemies when you tested? As the nearestObject command won't find anything further than 50m. Share this post Link to post Share on other sites