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

attention target's entity 

 

Syntax: 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.