Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::SetFormationUpdateSight Method
Syntax
C++
int SetFormationUpdateSight(IFunctionHandler* pH);
Parameters 
Description 
entityId 
entity id owner of the formation  
range 
angle (0,360) of rotation around the default sight direction 
minTime (optional) 
minimum timespan for changing the direction (default = 2) 
maxTime (optional) 
minimum timespan for changing the direction (default = minTime) 

!

AI.SetFormationUpdateSight(entityId, range, minTime, maxTime )

! Sets a random angle rotation for the given entity's formation sight directions.!  

!  

!  

!  

 

Copyright (c) 2012. All rights reserved.