knyghteblades Posted December 21, 2009 Share Posted December 21, 2009 If I attach the script to my mod via Module properties, I can capture the EVENT_TYPE_POPUP_RESULT without any issues. However, if I set the script to None and use the PRCSCR_NNNN.gda method to call it, then the EVENT_TYPE_POPUP_RESULT doesn't seem to register. I'd like to call the ShowPopup method and capture which button was pressed, but I don't want to have to attach the script to the module, as I'm pretty certain that will make it so the script is only called when the game is loaded, and I want it called when the party is in camp. Thanks,Knyghte Link to comment Share on other sites More sharing options...
jwvanderbeck Posted December 21, 2009 Share Posted December 21, 2009 The script attached to your module will run whenever the event happens. Link to comment Share on other sites More sharing options...
knyghteblades Posted December 21, 2009 Author Share Posted December 21, 2009 I only want the script to run when entering the party camp. By referencing the script in the PRCSCR_NNNN.GDA file, that seems to achieve that objective. However, when I go that route, then I can't seem to capture the EVENT_TYPE_POPUP_RESULT event (or any event for that matter). Getting the ID of the current event returns 0. I think what you're suggesting is to attach the script to the module, then, in my event trigger code, check to see what area I'm in and go from there. Is that right? Link to comment Share on other sites More sharing options...
Recommended Posts