Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
IsTakingCover
Syntax
C++
int IsTakingCover(IFunctionHandler * pH);
Parameters 
Description 
entityId 
AI's entity 
distanceThreshold 
(optional) distance over which if the agent is running to cover, he won't be considered as taking cover 

true - Agent is either in cover or running to cover nil - if not 

IsTakingCover

Syntax: AI.IsTakingCover(entityId, [distanceThreshold])

Copyright (c) 2012. All rights reserved.