UpdatePlayerSightAccuracy()


Module: AI
SP Only

Summary:

Does traces to determine how much of the player is visible if the player is the actor's enemy. Then modifies the actor's accuracy based on the visibilty. Should be called before any shoot volley.



Call this on:

<actor> An actor



Example:

self UpdatePlayerSightAccuracy();