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

attention target's type (AITARGET_NONE if no target)

!

AI.GetAttentionTargetType( entityId )

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

!  

 

Copyright (c) 2012. All rights reserved.