Skip to main content

Entity::hasClearLosTo

traceType is always 17 in the scripts.

  • JulioNIB: There is other codes used for traceType:

19 - in jewelry_prep1a 126 - in am_hunt_the_beast 256 & 287 - in fm_mission_controller

Syntax

```js entity.hasClearLosTo(entity2, traceType); ```

Required Arguments

  • entity2: Entity handle or object
  • traceType: int

Return value

  • Boolean

Example

```js // todo ```

See also