Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SetFormationPosition
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 ) 

Syntax: AI.SetFormationPosition(entityId, v2RelativePosition ) 

Sets the Relative position inside the formation

Copyright (c) 2012. All rights reserved.