EVENT TYPE TRANSITION TO WORLD MAP
From Dragon Age Toolset Wiki
Revision as of 04:38, 3 January 2010 by KigenBarzhad (Talk | contribs)
- Source:
- events_h
- Sent when:
- Player uses the generic transition system to open the world map
- Sent from:
- Sent to:
- module
- Parameters:
-
- String 0: the tag of the map to activate
- String 1: will be "rand" when exiting random encounters
- String 2: the tag of a map location to activate right before opening the map
- String 3: the tag of a map location to activate right before opening the map
- String 4: the tag of a map location to activate right before opening the map
- String 5: the tag of a map location to activate right before opening the map
- String 6: the tag of a map location to activate right before opening the map
Usage
case EVENT_TYPE_TRANSITION_TO_WORLD_MAP:
{
string sWorldMap = GetEventString(ev, 0); // the tag of the map to activate
string sTransType = GetEventString(ev, 1); // will be "rand" when exiting random encounters
string sWorldMapLoc1 = GetEventString(ev, 2); // the tag of a map location to activate right before opening the map
string sWorldMapLoc2 = GetEventString(ev, 3); // the tag of a map location to activate right before opening the map
string sWorldMapLoc3 = GetEventString(ev, 4); // the tag of a map location to activate right before opening the map
string sWorldMapLoc4 = GetEventString(ev, 5); // the tag of a map location to activate right before opening the map
string sWorldMapLoc5 = GetEventString(ev, 6); // the tag of a map location to activate right before opening the map
// insert event-handling code here
break;
}
{
string sWorldMap = GetEventString(ev, 0); // the tag of the map to activate
string sTransType = GetEventString(ev, 1); // will be "rand" when exiting random encounters
string sWorldMapLoc1 = GetEventString(ev, 2); // the tag of a map location to activate right before opening the map
string sWorldMapLoc2 = GetEventString(ev, 3); // the tag of a map location to activate right before opening the map
string sWorldMapLoc3 = GetEventString(ev, 4); // the tag of a map location to activate right before opening the map
string sWorldMapLoc4 = GetEventString(ev, 5); // the tag of a map location to activate right before opening the map
string sWorldMapLoc5 = GetEventString(ev, 6); // the tag of a map location to activate right before opening the map
// insert event-handling code here
break;
}
The locations are equivalent to a plot flag in the world map plot or location ID