Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::GetPotentialTargetCount Method
Syntax
C++
int GetPotentialTargetCount(IFunctionHandler* pH, ScriptHandle entityID);
Parameters 
Description 
entityId 
id handle of entity to match against. 

!

AI.GetPotentialTargetCount( entityID )

! Retrieves the number of potential targets for an entity from a specified factions.!  

 

Copyright (c) 2012. All rights reserved.