SetLoadHint

From Dragon Age Toolset Wiki
Jump to: navigation, search

This page was generated by Sunjammer's Dragon Age Script Parser.

The parser extracted and matched all the information required to the best of its ability however the parser relies on the source file, and especially a function's comments, to be correctly formatted. If the source file was not correctly formatted the information presented may be incomplete.

This page should be reviewed by a knowledgeable scripter as it may require updating. If an issue with the source file is identified it should be reported to BioWare.

Please remove the {{Generated}} tag once the page has been confirmed or corrected.

Sets the load hint for the loadscreen.

void SetLoadHint(
int nLoadHint,
int n2DAReference = 206
);
Parameters:
nLoadHint
The ID of the hint in the 2DA file
n2DAReference
The ID of the 2DA (271 for the random hint, 206 for the scripted hint). Default is 206
Returns:

Nothing.

Source:

script.ldf

Description

The load hint from the loadhints 2DA will be shown on the next area list transition. After the transition the hint is cleared. If this is not called before an area list transition, no hint will be shown. By default the "story so far" text is displayed when loading from a saved game.