Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::SetFormationPosition Method
Syntax
C++
int SetFormationPosition(IFunctionHandler* pH);
Parameters 
Description 
entityId 
AI's entity 
v2RelativePosition 
Table with format {x,y} storing the new relative position 

!

AI.SetFormationPosition(entityId, v2RelativePosition )

! Sets the Relative position inside the formation.!  

!  

AI.SetFormationPosition(entityId, v2RelativePosition )

Copyright (c) 2012. All rights reserved.