EVENT TYPE WORLD MAP USED

From Dragon Age Toolset Wiki
Revision as of 22:26, 18 August 2009 by BryanDerksen (Talk | contribs) (|sourcefile=events_h)

Jump to: navigation, search
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;
}

Note: This event may be obsolete, I think EVENT_TYPE_BEGIN_TRAVEL is the one that actually fires now.