Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
EvalPeek
Syntax
C++
int EvalPeek(IFunctionHandler * pH);
Parameters 
Description 
entityId 
AI's entity id bGetOptimalSide (optional) - If TRUE, and AI object can peek from both sides, will return the side that best fits where the attention target currently is 

-1 - don't need to peek 0 - cannot peek 1 - can peek from left 2 - can peek from right 3 - can peek from left & right 

 

Syntax: AI.EvalPeek(entityId [, bGetOptimalSide]) 

Evaluates if an AI object can peek from his current position

Copyright (c) 2012. All rights reserved.