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

attention target's type (AITARGET_NONE if no target) 

 

Syntax: AI.GetAttentionTargetType( entityId ) 

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

Copyright (c) 2012. All rights reserved.