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

attention target's entity

!

AI.GetAttentionTargetEntity( entityId )

! returns the given entity's attention target entity (if it is an entity) or ! the owner entity of the attention target if it is a dummy object (if there is an owner entity). ! !  

!

Copyright (c) 2012. All rights reserved.