Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::AgentLookAtPos Method
Syntax
C++
int AgentLookAtPos(IFunctionHandler * pH);
Parameters 
Description 
entityId 
AI's entity id. 
fov 
vec3 to look at 

!

AI.AgentLookAtPos(entityId, pos)

! Makes the entityId look at certain position.!  

!  

 

Copyright (c) 2012. All rights reserved.