nearObjects – Talk

From Bohemia Interactive Community
Revision as of 20:12, 26 August 2007 by Planck (talk | contribs)
Jump to navigation Jump to search
The returned object is not necessarily the closest one.

But an array of objects is returned, so this doesnt make sense. --T_D 09:46, 4 May 2007 (CEST)

Yeah, sorry. I'll rephrase that.
I meant to say that the first element in the array is not necessarily the closest one (like it is in the other "near*" commands). --Kronzky 16:31, 4 May 2007 (CEST)

Note recently added:

{_x setdamage 1} foreach (position player nearObjects 50);

This neglects to mention that the player will also be killed, as will any other units within the range.

Planck 20:12, 26 August 2007 (CEST)