From ZDoom Wiki
|Note: This function has been superseded by A_LookEx, which duplicates and extends its functionality. Use of the newer function is advised in order to maintain maximum flexibility in your code.|
Looks for players or other attackable actors in the game. If it finds a target, it enters its “See” state.
Spawn: TROO AB 10 A_Look loop
A_Look is called on every animation frame in the “Spawn” state to check for players.