Description
Whether two positions have line of sight with each other.
Return
bool
Arguments
Name: START POS
Description: The start position for the line-of-sight check. If a player is provided, a position 2 meters above the player's feet is used.
Type:
- Position
- Player Default: VECTOR
Name: END POS
Description: The end position for the line-of-sight check. If a player is provided, a position 2 meters above the player's feet is used.
Type:
- Position
- Player Default: VECTOR
Name: BARRIERS
Description: Defines how barriers affect line of sight. When considering whether a barrier belongs to an enemy, the allegiance of the player provided to start pos (if any) is used.
Type: BarrierLos
Default: BARRIERS DO NOT BLOCK LOS