295 {
296 if (!distance)
297 {
299 }
300 array<Object> objects = new array<Object>;
301 array<CargoBase>
proxies =
new array<CargoBase>;
302
304 int i = 0;
305 foreach (
Object o: objects)
306 {
307 if (o.IsKindOf(type))
308 {
309 i++;
310 ScriptConsole.m_MarkedEntities.Insert(
new MapMarker(o.GetPosition(),
"",
COLOR_RED,eMapMarkerTypes.MARKERTYPE_MAP_BORDER_CROSS));
312 vector lines[2];
313 lines[0] = o.GetPosition();
314 lines[1] = o.GetPosition() + "0 30 0";
318 }
319 }
320
322
323 Debug.Log(
string.Format(
"found %1 instances of type %1", i, type));
324 }
class BunkerBroadcastJsonDataBase proxies
static ref array< Shape > m_DebugShapes
static float DRAW_DISTANCE