Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
IsAgentInTargetFOV
Syntax
C++
int IsAgentInTargetFOV(IFunctionHandler * pH);
Parameters 
Description 
entityId 
AI's entity id. 
fov 
FOV of the enemy in degrees. 

true if in the FOV of the attention target else false. 

 

Syntax: AI.IsAgentInTargetFOV(entityId, fov) 

Checks if the entity is in the FOV of the attention target.

Copyright (c) 2012. All rights reserved.