Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetSlot
Syntax
C++
int GetSlot(IFunctionHandler* pH, bool usePresence);
Parameters 
Description 
bool usePresence 
is the presence (current state) or holder (the longer object responsible for the item) used 

Syntax: self.item:GetSlot( bool usePresence ) 

Gets the slot that holds the item. Uses either the presence or the holder to determine the slot. May return invalid wuid if the item's presence/holder is not a slot 

 

Copyright (c) 2012. All rights reserved.