Difference between revisions of "CS LoadCutsceneWithReplacements"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name = CS_LoadCutsceneWithReplacements |brief =Loads a cutscene with scripted replacement actors. |param1type = resource |param1name = rCutscene |param1desc = Cuts...') |
BryanDerksen (Talk | contribs) |
||
Line 47: | Line 47: | ||
<!-- == See also == --> | <!-- == See also == --> | ||
<!-- This section contains links to articles, functions or constant groups. --> | <!-- This section contains links to articles, functions or constant groups. --> | ||
+ | |||
+ | [[Category:Cutscene functions]] |
Latest revision as of 22:08, 10 February 2010
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.