Difference between revisions of "EVENT TYPE WORLD MAP CLOSED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(|sourcefile=script.ldf)
(category)
Line 4: Line 4:
 
|from=
 
|from=
 
|to= [[module]]
 
|to= [[module]]
 +
|tocategory1=module
 +
|sortkey=WORLD_MAP_CLOSED
 
|int0name = nCloseType
 
|int0name = nCloseType
 
|int0desc= close type, 0 for cancel, 1 for travel.
 
|int0desc= close type, 0 for cancel, 1 for travel.
 
}}
 
}}
  
[[Category:Event types|WORLD_MAP_CLOSED]]
 
 
[[Category:Maps]]
 
[[Category:Maps]]

Revision as of 22:09, 18 August 2009

Source:
script.ldf
Sent when:
Sent from:
Sent to:
module
Parameters:
  • Integer 0: close type, 0 for cancel, 1 for travel.

Usage

case EVENT_TYPE_WORLD_MAP_CLOSED:
{
int nCloseType = GetEventInteger(ev, 0); // close type, 0 for cancel, 1 for travel.

// insert event-handling code here

break;
}