Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::GetAttentionTargetAIType Method
Syntax
C++
int GetAttentionTargetAIType(IFunctionHandler * pH);
Parameters 
Description 
entityId 
AI's entity id 

attention target's type (AIOBJECT_NONE if no target)

!

AI.GetAttentionTargetAIType( entityId )

! returns the given entity's attention target AI type (AIOBJECT_*).!  

!  

 

Copyright (c) 2012. All rights reserved.