Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::GetGroupTargetCount Method
Syntax
C++
int GetGroupTargetCount(IFunctionHandler* pH);
Parameters 
Description 
entityId 
AI's entity id which group is determined 
bHostileOnly (optional) 
filter only hostile targets in group 
bLiveOnly (optional) 
filter only live targets in group (entities) 

!

AI.GetGroupTargetCount( entityId [,bHostileOnly [,bLiveOnly]] )

! Returns the number of attention targets amongst the agents in the given entity's group.!  

!  

!  

 

Copyright (c) 2012. All rights reserved.