Difference between revisions of "EVENT TYPE BEGIN TRAVEL"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (split off of event) |
BryanDerksen (Talk | contribs) (formatting) |
||
Line 1: | Line 1: | ||
+ | {{event | ||
+ | |when={{undocumented}} | ||
+ | |from={{undocumented}} | ||
+ | |to= [[module]] | ||
+ | |int0name=nSourceTerrain | ||
+ | |int0desc= | ||
+ | |int1name=nTargetTerrain | ||
+ | |int1desc= | ||
+ | |int2name=nWorldMap | ||
+ | |int2desc= | ||
+ | |string0name=sSource | ||
+ | |string0desc=area tag source location | ||
+ | |string1name=sTarget | ||
+ | |string1desc=area tag target location | ||
+ | |string2name=sWPOverride | ||
+ | |string2desc=waypoint tag override | ||
+ | |object0name=oSourceLocation | ||
+ | |object0desc=source location object | ||
+ | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Event types|BEGIN_TRAVEL]] | [[Category:Event types|BEGIN_TRAVEL]] | ||
[[Category:Maps]] | [[Category:Maps]] |
Revision as of 16:45, 24 July 2009
- Source:
- [Undocumented]
- 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); //
int nTargetTerrain = GetEventInteger(ev, 1); //
int nWorldMap = GetEventInteger(ev, 2); //
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;
}
{
int nSourceTerrain = GetEventInteger(ev, 0); //
int nTargetTerrain = GetEventInteger(ev, 1); //
int nWorldMap = GetEventInteger(ev, 2); //
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;
}