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

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

!

AI.GetAttentionTargetViewDirection( entityId, returnDir )

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

!  

 

Copyright (c) 2012. All rights reserved.