Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
IsSameTeam
Syntax
C++
int IsSameTeam(IFunctionHandler * pH, ScriptHandle entityId0, ScriptHandle entityId1);
Parameters 
Description 
ScriptHandle entityId0 
First entity identifier. 
ScriptHandle entityId1 
Second entity identifier. 

Syntax: GameRules.IsSameTeam(entityId0,entityId1) 

Checks if the two entity are in the same team. 

 

Copyright (c) 2012. All rights reserved.