Launching popups during the AI's turn

LyTning94

Dragonborn
Joined
Nov 10, 2010
Messages
397
Location
Skyrim
I have a popup which needs to be launched (to the human player obviously) during the AI's turn. Does anyone have any ideas on how to do this? A normal popup launch (i.e. the following) isn't working.

Code:
gDLL->getInterfaceIFace()->popupLaunch(pPopup, false, POPUPSTATE_IMMEDIATE);

This just sends the game into what acts like an infinite loop, but when I click 'Break All' in VC++ it always breaks on the statement above. It's like the game is trying time and time again to launch the popup without success.

Thanks in advance for the help.
 
Back
Top Bottom