WorldMapStartTravelling

From Dragon Age Toolset Wiki
Revision as of 23:25, 9 February 2010 by BryanDerksen (Talk | contribs) (Category:Map functions)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Start traveling on the world map to the location clicked. If a random encounter area tag and waypoint tag were specified then travel on the world map and have a random encounter at the specified location. Otherwise, sends the EVENT_TYPE_FINISH_TRAVEL event when completed.

void WorldMapStartTravelling(
string sRandomEncounterArea = "",
string sRandomEncounterWaypointTag = "",
object oSourceLocationOverride = OBJECT_INVALID
);
Parameters:
sRandomEncounterArea
tag of the random encounter target area
sRandomEncounterWaypointTag
tag of the random encounter target waypoint
oSourceLocationOverride
map pin override object to start travelling from on the world map
Returns:

Nothing.

Source:

script.ldf