Difference between revisions of "EVENT TYPE WORLD MAP USED"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (|sourcefile=events_h) |
BryanDerksen (Talk | contribs) m |
||
Line 4: | Line 4: | ||
|from= [[engine]] | |from= [[engine]] | ||
|to= [[module]] | |to= [[module]] | ||
+ | |tocategory1=module | ||
+ | |sortkey=WORLD_MAP_USED | ||
|int0name=nFrom | |int0name=nFrom | ||
|int0desc= travel start location | |int0desc= travel start location | ||
Line 11: | Line 13: | ||
'''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:Maps]] | [[Category:Maps]] |
Revision as of 22:26, 18 August 2009
- Source:
- events_h
- 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.