Entity::hasClearLosTo: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 12: Line 12:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Entity_function_c}}
{{Entity_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 18:09, 1 May 2024

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