SetDeathHint

From Dragon Age Toolset Wiki
Jump to: navigation, search

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

The parser was unable to extract and/or match all the information required and has flagged this page as containing one or more errors. The source file was not formatted correctly and the information presented is incomplete or incorrect.

This page must be reviewed by a knowledgeable scripter as it will need to be updated. Once identified, the issue in the source file should be reported to BioWare.

Please remove the {{Generated with errors}} tag once the page has been corrected.

Sets the death hint for the death screen.

void SetDeathHint(
int nDeathHint,
int n2DAReference = 205
);
Parameters:
nDeathHint
[Undocumented]
n2DAReference
The ID of the 2DA (272 for the random hint, 205 for the scripted hint). Default is 205
Returns:

Nothing.

Source:

script.ldf

Description

The death hint from the deathhints 2DA will be shown the next time the death screen is shown. The death hint is cleared after the death screen is hidden. If this is not called before showing the death screen, no hint will be displayed.