Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
IsAgentInAgentFOV
Syntax
C++
int IsAgentInAgentFOV(IFunctionHandler * pH);
Parameters 
Description 
entityId 
AI's entity who's FOV is checked 
entityId2 
that's entity is looking for ;) 

1st value - TRUE if the agent is within the entity FOV 2nd value - TRUE if the agent is within the entity's primary FOV or FALSE if within secondary FOV 

 

Syntax: AI.IsAgentInAgentFOV(entityId, entityId2) 

Check if the entity2 is within the entity FOV

Copyright (c) 2012. All rights reserved.