Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::ResetAgentState Method
Syntax
C++
int ResetAgentState(IFunctionHandler * pH, ScriptHandle entityId, const char * stateLabel);
Parameters 
Description 
ScriptHandle entityId 
AI's entity 
const char * stateLabel 
string describing the state that must be reset to default 

nil

!

AI.ResetAgentState(entityId,stateLabel)

! Resets a particular aspect of the agent's state, such as "lean". Intended to keep these hacky concepts together.!  

!  

!  

ResetAgentState

Copyright (c) 2012. All rights reserved.