mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
reworked some function headers and deleted whitespace in doFragTargeted
This commit is contained in:
parent
b98aae7866
commit
05dedff99d
addons/frag/functions
@ -1,7 +1,7 @@
|
||||
#include "..\script_component.hpp"
|
||||
/*
|
||||
* Author: Lambda.Tiger
|
||||
* Per frame function to draw all dev traces.
|
||||
* This function draws all development traces and is intended to be called on each frame.
|
||||
*
|
||||
* Arguments:
|
||||
* None
|
||||
|
@ -37,7 +37,7 @@ if (_fragTypes isEqualTo []) then {
|
||||
];
|
||||
};
|
||||
|
||||
// Post 2.18 change - uncomment line 47, remove line 49, 56-62, 70-72, and change lines 64 & 170 from _targetse to _objects
|
||||
// Post 2.18 change - uncomment line 41, remove line 43, 50-55, 63-65, and change lines 57 & 168 from _targetse to _objects
|
||||
// private _objects = [ASLToAGL _posASL, _fragRange, _fragRange, 0, false, _fragRange ] nearEntities [["Car", "Motorcycle", "Tank", "StaticWeapon", "CAManBase", "Air", "Ship"], false, true, true];
|
||||
|
||||
private _objects = (ASLToATL _posASL) nearEntities [["Car", "Motorcycle", "Tank", "StaticWeapon", "CAManBase", "Air", "Ship"], _fragRange];
|
||||
@ -52,7 +52,6 @@ private _targets = [];
|
||||
private _crew = crew _x;
|
||||
_crew pushBackUnique _x;
|
||||
_targets append _crew;
|
||||
|
||||
} forEach _objects;
|
||||
|
||||
TRACE_3("Targets found",_posASL,_fragRange,count _targets);
|
||||
|
Loading…
x
Reference in New Issue
Block a user