Difference between revisions of "EVENT TYPE GUI OPENED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(update template)
(found code in module_core)
Line 7: Line 7:
 
|tocategory1=module
 
|tocategory1=module
 
|sortkey=GUI_OPENED
 
|sortkey=GUI_OPENED
 +
|int0name=nGUIID
 +
|int0desc=
 
}}
 
}}
  
GUI tutorial calls
+
GUI tutorial calls. nGUIID can be:
 +
 
 +
*GUI_INVENTORY: //Inventory ScreenOpened
 +
*GUI_JOURNAL: //Journal
 +
*GUI_MAP: //Area Map
 +
*GUI_WORLD_MAP: //World Map
 +
*GUI_TACTICS: //AI Tactics screen
 +
*GUI_STORE: //Store GUI
 +
*GUI_CRAFTING: //Crafting
 +
*GUI_CHANTERS: //Chanter's Board
 +
*GUI_ITEM_UPGRADE // Enchanter upgrade

Revision as of 18:20, 19 August 2009

The documentation on this page is incomplete, obsolete, or otherwise in need of a thorough review. The current content may provide a good starting point for this, but do not rely on its accuracy when using it to design content.

Source:
script.ldf
Sent when:
Sent from:
Sent to:
module
Parameters:

Usage

case EVENT_TYPE_GUI_OPENED:
{
int nGUIID = GetEventInteger(ev, 0); //

// insert event-handling code here

break;
}

GUI tutorial calls. nGUIID can be:

  • GUI_INVENTORY: //Inventory ScreenOpened
  • GUI_JOURNAL: //Journal
  • GUI_MAP: //Area Map
  • GUI_WORLD_MAP: //World Map
  • GUI_TACTICS: //AI Tactics screen
  • GUI_STORE: //Store GUI
  • GUI_CRAFTING: //Crafting
  • GUI_CHANTERS: //Chanter's Board
  • GUI_ITEM_UPGRADE // Enchanter upgrade