Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
ModifySmartObjectStates
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")
 

Syntax: AI.ModifySmartObjectStates( entityId, listStates ) 

Adds/Removes smart object states of a given entity

Copyright (c) 2012. All rights reserved.