Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SetEntitySpeedRange
Syntax
C++
int SetEntitySpeedRange(IFunctionHandler * pH);
Parameters 
Description 
usedEntityId 
entity id of the user for which its last used smart object is needed 
urgency 
integer value specifying the movement urgency (see AgentMovementSpeeds::EAgentMovementUrgency) 
defaultSpeed 
floating point value specifying the default speed 
minSpeed 
floating point value specifying the min speed 
maxSpeed 
floating point value specifying the max speed 
stance 
optional parameter specifying the stance for which the range is set. default is all (see AgentMovementSpeeds::EAgentMovementStance) 

true if the operation was successful and false otherwise 

SetEntitySpeedRange

Syntax: AI.SetEntitySpeedRange( userEntityId, urgency, defaultSpeed, minSpeed, maxSpeed, stance = all) 

This function allows the user to override the entity's speed range for the given urgency

Copyright (c) 2012. All rights reserved.