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

!

AI.GetPotentialTargetCountFromFaction( entityID, name )

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

!  

 

Copyright (c) 2012. All rights reserved.