Difference between revisions of "CS LoadCutscene"
From Dragon Age Toolset Wiki
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...') |
BryanDerksen (Talk | contribs) |
||
Line 39: | Line 39: | ||
<!-- == 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:09, 10 February 2010
Loads a cutscene.
void CS_LoadCutscene(
resource rCutscene,
string strPlot = "",
int nPlotFlag = -1,
string sTalkSpeaker = ""
);
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.