Jump to content

Get Info from an open Dialog


Clyde82

Recommended Posts

Hi,

 

I'm trying to convert my mod not using any overrides anymore. For that I kind of need to know if you can somehow determine if a certain Dialog is open in the screen or even get the event when he is closed.

 

The following code lets me know if a dialog is open:

if(UIArmory_Promotion(Screen).Movie.Pres.UIIsShowingDialog()

But as there can be different dialogs I kinda need to know if it's the one which shows after an AWC perk has been unlocked.

 

I looked at the PresentationLayer template and couldn't find a function which would return the TDialogueBoxData which was used to pop the dialog in the first place. Is there another way to get this data or even better could I somehow set up a listener to catch the event when this dialog is closed?

 

Mfg Clyde

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...