obj_can_hear_obj - formula?

Zorchar

Look, Ma! Two Heads!
Hey guys.

Does anyone know exactly how obj_can_hear_obj works? Is there a clear formula? Any info on the subject besides the sfall editor desc?
 
Both can_see and can_hear functions are based on the same is_within_perception function that is shown in the example hook script.
The only difference is can_hear (fixed with sfall option enabled) has no blocking check, i.e. the source object can "see" through walls.
 
Back
Top