Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
OpenInventory
Syntax
C++
int OpenInventory(IFunctionHandler * pH, const char * questName);
Parameters 
Description 
const char * questName 
name of the quest which will be delivered 
objectiveId 
id of objective 
gVarName 
name of the variable with result (0 not set, -1 cancel, -2 wrong item or less items, 1 ok, 2 ok, but broken) 

Syntax: QuestSystem.OpenInventory() 

Opens inventory with item asset which should be delivered 

 

Copyright (c) 2012. All rights reserved.