Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetAttentionTargetViewDirection
Syntax
C++
int GetAttentionTargetViewDirection(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.GetAttentionTargetViewDirection( entityId, returnDir ) 

returns the given entity's attention target's view direction

Copyright (c) 2012. All rights reserved.