Difference between revisions of "DoAreaTransition"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(looks okay, removing tag)
 
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=DoAreaTransition
 
|name=DoAreaTransition
Line 17: Line 16:
 
== Description ==
 
== Description ==
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
This function will do an area transtion if the target area is within the same area  
+
This function will do an area transtion if the target area is within the same area list of the current area OR if the target area is in a different area list then it will unload the current area list and load into memory (with a loading bar) a new area list. The party will then be jumped to the specified waypoint (if it exists)
list of the current area OR if the target area is in a different area list then
+
it will unload the current area list and load into memory (with a loading bar)
+
a new area list. The party will then be jumped to the specified waypoint (if it exists)
+
  
 
== Remarks ==
 
== Remarks ==

Latest revision as of 01:02, 3 March 2010

Moves the entire party into an area

int DoAreaTransition(
string sArea,
string sWaypointTag
);
Parameters:
sArea
tag of the target area
sWaypointTag
tag of the target waypoint
Returns:

1 for success, 0 for failure (area list does not exist or area does not exist)

Source:

script.ldf

Description

This function will do an area transtion if the target area is within the same area list of the current area OR if the target area is in a different area list then it will unload the current area list and load into memory (with a loading bar) a new area list. The party will then be jumped to the specified waypoint (if it exists)

Remarks

this function will jump ALL party members