Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::ChangeFormation Method
Syntax
C++
int ChangeFormation(IFunctionHandler * pH);
Parameters 
Description 
entityId 
entity id of which group the formation is changed 
name 
name of the formation descriptor 
scale (optional) 
scale factor (1 = default) 

true if the formation change was successful

!

AI.ChangeFormation(entityId, name [,scale] )

! Changes the formation descriptor for the current formation of given entity's group (if there is a formation).!  

!  

!  

!

Copyright (c) 2012. All rights reserved.