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

v3 - Table with format {x,y,z} storing the relative position

!

AI.GetFormationPosition(entityId)

! Gets the Relative position inside the formation.!  

!  

vec3 AI.GetFormationPosition(entityId)

Copyright (c) 2012. All rights reserved.