Difference between revisions of "EVENT TYPE WORLD MAP USED"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (formatting) |
BryanDerksen (Talk | contribs) m |
||
Line 8: | Line 8: | ||
|int1desc= travel target location | |int1desc= travel target location | ||
}} | }} | ||
− | '''Note:''' This event may be obsolete, I think EVENT_TYPE_BEGIN_TRAVEL is the one that actually fires now. | + | '''Note:''' This event may be obsolete, I think [[EVENT_TYPE_BEGIN_TRAVEL]] is the one that actually fires now. |
[[Category:Event types|WORLD_MAP_USED]] | [[Category:Event types|WORLD_MAP_USED]] | ||
[[Category:Maps]] | [[Category:Maps]] |
Revision as of 21:54, 24 July 2009
- Source:
- [Undocumented]
- Sent when:
- the player clicks on a destination in the world map
- Sent from:
- engine
- Sent to:
- module
- Parameters:
-
- Integer 0: travel start location
- Integer 1: travel target location
Usage
case EVENT_TYPE_WORLD_MAP_USED:
{
int nFrom = GetEventInteger(ev, 0); // travel start location
int nTo = GetEventInteger(ev, 1); // travel target location
// insert event-handling code here
break;
}
{
int nFrom = GetEventInteger(ev, 0); // travel start location
int nTo = GetEventInteger(ev, 1); // travel target location
// insert event-handling code here
break;
}
Note: This event may be obsolete, I think EVENT_TYPE_BEGIN_TRAVEL is the one that actually fires now.