CS LoadCutsceneWithReplacements
From Dragon Age Toolset Wiki
Revision as of 21:53, 10 February 2010 by BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name = CS_LoadCutsceneWithReplacements |brief =Loads a cutscene with scripted replacement actors. |param1type = resource |param1name = rCutscene |param1desc = Cuts...')
Loads a cutscene with scripted replacement actors.
void CS_LoadCutsceneWithReplacements(
resource rCutscene,
string[] arActors,
object[] arReplacements,
string strPlot = "",
int nPlotFlag = -1,
string sTalkSpeaker = ""
);
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.