CBA_fnc_findEntity

Description

A function used to find out the first entity of parsed type in a nearEntitys call

Parameters

  • Type (Classname or Object) <STRING, OBJECT>
  • Position <OBJECT, LOCATION, GROUP, TASK, MARKER, POSITION>

Optional

  • Radius <NUMBER>

Example

_veh = ["LaserTarget", player] call CBA_fnc_findEntity

Returns

First entity; nil return if nothing

Author

Rommel

Close