25.07.2011, 22:34
I made a dialog for Redsands Casino, you can purchase drinks and other stuff. When they drink too much alcohol, they die from it. I made it so if people don't have much health, the drinks refill their health, therefore, the buying dialog is left open. At random times, they will die from alcohol poisoning, but the problem is when they die from it, the buy dialog is still open (I use DIALOG_STYLE_LIST). I want it to close when they die, but there is no function for it. How can I do that?