EVENT TYPE POPUP RESULT
From Dragon Age Toolset Wiki
- Sent When: player responds to area transition prompt.
- Sent From:
- Sent To: module
Parameters:
- object oOwner = GetEventObject(ev, 0); // owner of popup
- int nPopupID = GetEventInteger(ev, 0); // popup ID
- int nButton = GetEventInteger(ev, 1); // button result (1 - 4)
- string sInput = GetEventString(ev,0); // string entered into optional text field
Calling the "ShowPopup" script function causes a popup window to be displayed to the user, with up to four buttons whose text is defined in the "popups" 2DA and up to one text input field (with a filter on the input the player can type there that's the same as the filter on player names - up to 20 characters, no spaces, limited punctuation, no empty strings). This event is generated and sent to the module script with the popup's result.