DESCRIPTION
Returns whether or not the first Entity has a clear line of sight (LOS) to the second Entity, without considering angles or positioning.
If you wish to consider facing angle and positioning, see: HAS_ENTITY_CLEAR_LOS_TO_ENTITY_IN_FRONT
CODE EXAMPLE
hasLOS = HAS_ENTITY_CLEAR_LOS_TO_ENTITY(firstPed, secondPed, 16);
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.