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

Syntax: 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.