Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
ChangeMovementAbility
Syntax
C++
int ChangeMovementAbility(IFunctionHandler * pH);
Parameters 
Description 
entityId 
entity id 
paramEnum 
the parameter to change, should be one of the following: 
AIMOVEABILITY_OPTIMALFLIGHTHEIGHT 
optimal flight height while finding path (meters). 
AIMOVEABILITY_MINFLIGHTHEIGHT 
minimum flight height while finding path (meters). 
AIMOVEABILITY_MAXFLIGHTHEIGHT 
maximum flight height while finding path (meters). 
paramValue 
new parameter value, see above for type and meaning.
 

Syntax: AI.ChangeMovementAbility( entityId, paramEnum, paramValue ) 

Changes an enumerated AI movement ability parameter.

Copyright (c) 2012. All rights reserved.