CS LoadCutscene

From Dragon Age Toolset Wiki
Revision as of 21:50, 10 February 2010 by BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name = CS_LoadCutscene |brief = Loads a cutscene. |param1type = resource |param1name = rCutscene |param1desc = Cutscene resource (CUTSCENE_* constants defined in cu...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Loads a cutscene.

void CS_LoadCutscene(
resource rCutscene,
string strPlot = "",
int nPlotFlag = -1,
string sTalkSpeaker = ""
);
Parameters:
rCutscene
Cutscene resource (CUTSCENE_* constants defined in cutscenes_h.nss)
strPlot
Plot which contains the flag to be set
nPlotFlag
Plot flag to be set
sTalkSpeaker
Tag of creature who will initiate dialogue
Returns:

Nothing.

Source:

Core Resources.utility_h

Description

Loads the specified cutscene. Sets the specified plot flag after the cutscene plays (optional), and makes sTalkSpeaker initiate dialog with the player (also optional).

Note: The plot flag and talk speaker parameters require the script gen00cs_cutscene_end.nss to be attached to the cutscene itself.