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

Dir - vector {x,y,z} passed as a return value (attention target 's direction)

!

AI.GetAttentionTargetDirection( entityId, returnDir )

! returns the given entity's attention target's direction.!  

!  

 

Copyright (c) 2012. All rights reserved.