CS LoadCutsceneWithReplacements

From Dragon Age Toolset Wiki
Jump to: navigation, search

Loads a cutscene with scripted replacement actors.

void CS_LoadCutsceneWithReplacements(
resource rCutscene,
string[] arActors,
object[] arReplacements,
string strPlot = "",
int nPlotFlag = -1,
string sTalkSpeaker = ""
);
Parameters:
rCutscene
Cutscene resource (CUTSCENE_* constants defined in cutscenes_h.nss)
arActors
(string array) List of cutscene tracks whose actors will be replaced.
arReplacements
(object array) List of objects that will replace the default actors.
strPlot
Plot which contains the flag to be set
nPlotFlag
Plot flag to be set
sTalkSpeaker
Tag of creature who will initiate dialog
Returns:

Nothing.

Source:

Core Resources.utility_h

Description

For special case use only. Most cutscenes should use CS_LoadCutscene(), as most actor mappings can be handled from the cutscene editor itself.