Difference between revisions of "PRCSCR.xls"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (moved PRCSCR to PRCSCR.xls: My reason is that the name of the page should go along with the others like it has a xls tag, but even if there is none it is at the least a placeholder for a usermade one. Additionally this makes room for the synon)
(No difference)

Revision as of 11:05, 31 January 2010

Whenever a player enters an area in an area list in this M2DA the associated script will be run. A modder can therefore include a script with his mod that will be run when the player enters an existing area that he didn't create. This script can freely add or remove placeables and creatures and perform whatever other modifications to the area that a script is capable of doing.

Note that the script will be run every time the player enters the area, so you'll want to have an associated plot flag to ensure that the changes are only made once.

Column Type Description
ID int A number that uniquely identifies the entry (unless creating an M2DA override). ID numbers are listed from smallest to highest within a given file but do not need to be consecutive.
AreaListName string a string that identifies a specific area list, or the special keyword "any".
Script string the name of a script file to run

Using "any" in the AreaListName column will trigger the specified script when entering or loading any area.