quests, player item load order
Posted: Sun Sep 10, 2017 10:09 am
i am working on some quest journal thing, particularly the usable item icon displayed next to a quest that you click to use it so you dont have to find it in inventory and possibly move to a hot bar in order to use it
i have already fixed the struct for it
and i have modified the lua add queststep function to add an optional option at the end for the item numbet you wish to have in the quest journal
i have also add code for the quest step info to include that item number
the proplem is this, for the struct i need
the item number (given that is passed by the lua script and help in the addqueststep step info
unique item number
icon
the problem is it appears that quest and steps are loaded before character items are loaded
i am trying to find where a can switch the character load order and have inventory(player itemlist) loaded before quests are loaded
any idea where to look
i have already fixed the struct for it
and i have modified the lua add queststep function to add an optional option at the end for the item numbet you wish to have in the quest journal
i have also add code for the quest step info to include that item number
the proplem is this, for the struct i need
the item number (given that is passed by the lua script and help in the addqueststep step info
unique item number
icon
the problem is it appears that quest and steps are loaded before character items are loaded
i am trying to find where a can switch the character load order and have inventory(player itemlist) loaded before quests are loaded
any idea where to look