Перейти к содержанию

Entity::hasClearLosTo

Материал из RAGE MP Wiki Archive

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

<syntaxhighlight lang="javascript">entity.hasClearLosTo(entity2, traceType);</syntaxhighlight>

Required Arguments

  • entity2: Entity handle or object
  • traceType: int

Return value

  • Boolean

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also