Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
OpenInventory
Syntax
C++
int OpenInventory(IFunctionHandler * pH, const char * questName, int objectiveId, const char* gVarName);
Parameters 
Description 
const char * questName 
name of the quest which will be delivered 
int objectiveId 
id of objective 
const char* 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.