Entity::hasClearLosTo

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

entity.hasClearLosTo(entity2, traceType);

Required Arguments

  • entity2: Entity handle or object
  • traceType: int

Return value

  • Boolean

Example

// todo

See also