Difference between revisions of "EVENT TYPE WORLD MAP USED"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m |
BryanDerksen (Talk | contribs) m (|sourcefile=events_h) |
||
Line 1: | Line 1: | ||
{{event | {{event | ||
+ | |sourcefile=events_h | ||
|when= the player clicks on a destination in the world map | |when= the player clicks on a destination in the world map | ||
|from= [[engine]] | |from= [[engine]] |
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.