Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::Hostile Method
Syntax
C++
int Hostile(IFunctionHandler* pH);
Parameters 
Description 
entityId 
1st AI's entity id 
entity2Id | AIObjectName 
2nd AI's entity id | 2nd AIobject's name 

true if the entities are hostile

!

AI.Hostile( entityId, entity2Id|AIObjectName )

! returns true if the two entities are hostile.!  

!  

!  

 

Copyright (c) 2012. All rights reserved.