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

nil 

ResetAgentState

Syntax: AI.ResetAgentState(entityId,stateLabel) 

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

Copyright (c) 2012. All rights reserved.