Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetAttentionTargetDirection
Syntax
C++
int GetAttentionTargetDirection(IFunctionHandler * pH);
Parameters 
Description 
entityId 
AI's entity id 
returnDir 
vector {x,y,z} passed as a return value (attention target 's direction)
 

Syntax: AI.GetAttentionTargetDirection( entityId, returnDir ) 

returns the given entity's attention target's direction

Copyright (c) 2012. All rights reserved.