CheckSight
From Eternity Wiki
Jump to navigationJump to search
Description
This is an ACS built-in function.
Checks if there is a line of sight between two actors.
Usage
boolean CheckSight(int tid1, int tid2, flags)
Parameters
Return value
Examples
No examples given.
Notes
This uses the same line of sight rule as the one for monster sights, explosion rays etc. If any of the two actors is completely gone from the game, the function returns 0. It will still return 1 if there's a line of sight if they still exist as corpses or in any way still present in the game.
This function's identification in zspecial.acs is: -35.