Page 1 of 1

New UI not interacting well with Chat

Posted: Mon Oct 04, 2010 5:05 am
by yufra
I saw this first in VR, and then confirmed it with the apprentice quest in ToME. In both cases a call to the showEquipInven function is used to select an item from the inventory to give to the NPC. The inventory UI element appears, but it is not in focus and the chat continues in front of the inventory UI element. Is the new UI using coroutines or something that would cause the chat action function to not be waiting for the inventory UI element to close?

Re: New UI not interacting well with Chat

Posted: Mon Oct 04, 2010 9:43 am
by darkgod
Ah fixed!

This is because Chat dialog now recreates itself at each step, thus it gained focus doing so.
I added a Game:replaceDialog() method to avoid that