Difference between revisions of "EVENT TYPE TRANSITION TO WORLD MAP"
From Dragon Age Toolset Wiki
KigenBarzhad (Talk | contribs) |
BryanDerksen (Talk | contribs) m (remove redundant category) |
||
Line 25: | Line 25: | ||
[[Category:Map events|TRANSITION_TO_WORLD_MAP]] | [[Category:Map events|TRANSITION_TO_WORLD_MAP]] | ||
− | |||
− |
Latest revision as of 00:49, 12 February 2010
- 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