Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::IsAgentInTargetFOV Method
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.

!

AI.IsAgentInTargetFOV(entityId, fov)

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

!  

!  

 

Copyright (c) 2012. All rights reserved.