Difference between revisions of "EVENT TYPE TRANSITION TO WORLD MAP"

From Dragon Age Toolset Wiki
Jump to: navigation, search
Line 4: Line 4:
 
|to= [[module]]
 
|to= [[module]]
 
|string0name= sWorldMap
 
|string0name= sWorldMap
|string0desc{{the tag of the map to activate}}
+
|string0desc{the tag of the map to activate}
 
|string1name=sTransType
 
|string1name=sTransType
 
|string1desc={{undocumented}}
 
|string1desc={{undocumented}}
 
|string2name= sWorldMapLoc1
 
|string2name= sWorldMapLoc1
|string2desc={{the tag of a map location to activate}}
+
|string2desc={the tag of a map location to activate}
 
|string3name= sWorldMapLoc2
 
|string3name= sWorldMapLoc2
|string3desc={{the tag of a map location to activate}}
+
|string3desc={the tag of a map location to activate}
 
|string4name= sWorldMapLoc3
 
|string4name= sWorldMapLoc3
|string4desc={{the tag of a map location to activate}}
+
|string4desc={the tag of a map location to activate}
 
|string5name=sWorldMapLoc4
 
|string5name=sWorldMapLoc4
|string5desc={{the tag of a map location to activate}}
+
|string5desc={the tag of a map location to activate}
 
|string6name= sWorldMapLoc5
 
|string6name= sWorldMapLoc5
|string6desc={{the tag of a map location to activate}}
+
|string6desc={the tag of a map location to activate}
 
}}
 
}}
  
 
[[Category:Event types|TRANSITION_TO_WORLD_MAP]]
 
[[Category:Event types|TRANSITION_TO_WORLD_MAP]]
 
[[Category:Maps]]
 
[[Category:Maps]]

Revision as of 06:43, 7 August 2009

Source:
[Undocumented]
Sent when:
Player uses the generic transition system to open the world map
Sent from:
Sent to:
module
Parameters:
  • String 0: [Undocumented]
  • String 1: [Undocumented]
  • String 2: {the tag of a map location to activate}
  • String 3: {the tag of a map location to activate}
  • String 4: {the tag of a map location to activate}
  • String 5: {the tag of a map location to activate}
  • String 6: {the tag of a map location to activate}

Usage

case EVENT_TYPE_TRANSITION_TO_WORLD_MAP:
{
string sWorldMap = GetEventString(ev, 0); //
string sTransType = GetEventString(ev, 1); // [Undocumented]
string sWorldMapLoc1 = GetEventString(ev, 2); // {the tag of a map location to activate}
string sWorldMapLoc2 = GetEventString(ev, 3); // {the tag of a map location to activate}
string sWorldMapLoc3 = GetEventString(ev, 4); // {the tag of a map location to activate}
string sWorldMapLoc4 = GetEventString(ev, 5); // {the tag of a map location to activate}
string sWorldMapLoc5 = GetEventString(ev, 6); // {the tag of a map location to activate}

// insert event-handling code here

break;
}