Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SetSmartObjectState
Syntax
C++
int SetSmartObjectState(IFunctionHandler * pH);
Parameters 
Description 
entityId 
entity id 
stateName 
name of the new state (i.e. "Idle")
 

Syntax: AI.SetSmartObjectState( entityId, stateName ) 

Sets only one single smart object state replacing all other states

Copyright (c) 2012. All rights reserved.