DESCRIPTION
Returns whether or not the first Entity has a clear line of sight (LOS) to the second Entity, taking into consideration the positioning and facing angle of the first Entity in relation to the position of the second Entity. Due to the additional calculations, this function is relatively expensive to call.
A less expensive LOS check is available using HAS_ENTITY_CLEAR_LOS_TO_ENTITY.
CODE EXAMPLE
hasClearLOSInFront = HAS_ENTITY_CLEAR_LOS_TO_ENTITY_IN_FRONT(firstEntity, secondEntity);
Recommended Comments
There are no comments to display.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.