Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::GetGroupTarget Method
Syntax
C++
int GetGroupTarget(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.GetGroupTarget( entityId [,bHostileOnly [,bLiveOnly]] )

! Returns the most threatening attention target amongst the agents in the given entity's group. (see IAgent.h for definition of alert status)!  

!  

!  

 

Copyright (c) 2012. All rights reserved.