Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetLastUsedSmartObject
Syntax
C++
int GetLastUsedSmartObject(IFunctionHandler * pH);
Parameters 
Description 
usedEntityId 
entity id of the user for which its last used smart object is needed 

nil if there's no last used smart object (or if an error has occurred) or the script table of the entity which is the last used smart object 

 

Syntax: AI.GetLastUsedSmartObject( userEntityId ) 

Returns the last used smart object

Copyright (c) 2012. All rights reserved.