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

attention target's name (nil if no target)

!

AI.GetAttentionTargetOf( entityId )

! returns the given entity's attention target.!  

!  

 

Copyright (c) 2012. All rights reserved.