Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
OpenInventory
Syntax
C++
int OpenInventory(IFunctionHandler * pH, ScriptHandle shopkeeperId, bool bCanHaggle);
Parameters 
Description 
ScriptHandle shopkeeperId 
entity id for an NPC. It must be assigned as a shopkeeper for some shop. 
bool bCanHaggle 
if set to false, haggling will be disabled.
 

Syntax: Shops.OpenInventory(entityId, bCanHaggle) 

Opens the shop UI with the specified shopkeeper.

Copyright (c) 2012. All rights reserved.