EVENT TYPE BEGIN TRAVEL

From Dragon Age Toolset Wiki
Revision as of 05:33, 3 January 2010 by KigenBarzhad (Talk | contribs)

Jump to: navigation, search
Source:
script.ldf
Sent when:
[Undocumented]
Sent from:
[Undocumented]
Sent to:
module
Parameters:
  • Integer 0: [Undocumented]
  • Integer 1: [Undocumented]
  • Integer 2: [Undocumented]
  • String 0: area tag source location
  • String 1: area tag target location
  • String 2: waypoint tag override
  • Object 0: source location object

Usage

case EVENT_TYPE_BEGIN_TRAVEL:
{
int nSourceTerrain = GetEventInteger(ev, 0); // [Undocumented]
int nTargetTerrain = GetEventInteger(ev, 1); // [Undocumented]
int nWorldMap = GetEventInteger(ev, 2); // [Undocumented]
string sSource = GetEventString(ev, 0); // area tag source location
string sTarget = GetEventString(ev, 1); // area tag target location
string sWPOverride = GetEventString(ev, 2); // waypoint tag override
object oSourceLocation = GetEventObject(ev, 0); // source location object

// insert event-handling code here

break;
}