Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::SetEntitySpeedRange Method
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 
maxSpeedfloating point value specifying the max speed</param 
!  
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

!

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.!  

!  

!  

!  

!  

!  

SetEntitySpeedRange

Copyright (c) 2012. All rights reserved.