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

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

!

AI.GetAttentionTargetPosition( entityId, returnPos )

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

!  

 

Copyright (c) 2012. All rights reserved.