Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
DrawItemFromInventory
Syntax
C++
virtual int DrawFromInventory(IFunctionHandler * pH, ScriptHandle itemId, int hand, bool bAnimate);
Parameters 
Description 
ScriptHandle itemId 
Identifier for the item 
int hand 
to which hand 
bool bAnimate 
draw with animation 

Syntax: Human.DrawItemFromInventory( itemId, hand, animate ) 

Spawn item from inventory to human hands and animate drawing it from somewhere 

 

Copyright (c) 2012. All rights reserved.