How to wait for an inventory selection
Posted: Sun Apr 21, 2024 11:25 pm
Hello
I want to make a dialogue that:
NPC gives some hints for an item, and pop up the inventory window for player to select item.
then NPC responses according to player showing the right item or not
How to achieve: the dialogue pause when the inventory window pop up, and continue dialogue when player selected an item?
Assume that I made custom Lua function "PopInventoryWindow" to pop up the inventory window
I want to make a dialogue that:
NPC gives some hints for an item, and pop up the inventory window for player to select item.
then NPC responses according to player showing the right item or not
How to achieve: the dialogue pause when the inventory window pop up, and continue dialogue when player selected an item?
Assume that I made custom Lua function "PopInventoryWindow" to pop up the inventory window