CBA_fnc_findEntity

Description

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

Parameters

  • Type (Classname, Object)
  • Position (XYZ, Object, Location or Group)

Optional

  • Radius (Scalar)

Example

_veh = ["LaserTarget", player] call CBA_fnc_findEntity

Returns

First entity; nil return if nothing

Author

Rommel

Close