Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetPotentialTargetCountFromFaction
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.
 

Syntax: AI.GetPotentialTargetCountFromFaction( entityID, name ) 

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

Copyright (c) 2012. All rights reserved.