Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetLeader
Syntax
C++
int GetLeader(IFunctionHandler * pH);
Parameters 
Description 
groupID 
group id 
entityID 
entity (id) of which we want to find the leader
 

Syntax: AI.GetLeader( groupID | entityID ) 

returns the leader's name of the given groupID / entity

Copyright (c) 2012. All rights reserved.