Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::ModifySmartObjectStates Method
Syntax
C++
int ModifySmartObjectStates(IFunctionHandler * pH);
Parameters 
Description 
entityId 
entity id 
listStates 
names of the states to be added and removed (i.e. "Closed, Locked">Open, Unlocked, Busy") 

!

AI.ModifySmartObjectStates( entityId, listStates )

! Adds/Removes smart object states of a given entity.!  

!  

 

Copyright (c) 2012. All rights reserved.