LoadCutscene
From Dragon Age Toolset Wiki
Loads a cutscene
void LoadCutscene(
resource rCutscene,
object oPlayer,
int bPlayImmediately,
string[] aTargetTagsToReplace,
object[] aReplacementObjects,
int bActorsHaveWeapons
);
resource rCutscene,
object oPlayer,
int bPlayImmediately,
string[] aTargetTagsToReplace,
object[] aReplacementObjects,
int bActorsHaveWeapons
);
- Parameters:
- rCutscene
- The file name of the cutscene.cut file to load
- oPlayer
- The specific player that this cutscene is for. If none is specified, all players get it
- bPlayImmediately
- Takes over control on the client and forces the load in one big hit, then plays it automatically
- aTargetTagsToReplace
- The tags of the actors that should be replaced (tag aTargetTagsToReplace[0] will be replaced by object aReplacementObjects[0])
- aReplacementObjects
- The object ids of the objects that will override the appearances of the actors specified in aTargetTagsToReplace
- bActorsHaveWeapons
- If the actors have been overridden, do the creatures bring their weapons into the scene with them
- Returns:
- Nothing.
- Source:
- script.ldf
Description
Starts off the cutscene process by loading up the cutscene in the background while the game plays (loads a little bit each update). Will not take over control of the input or interfere with the user's play experience, except for the slight slow-down while the system loads up the scene.
If parameter actors are specified, the objects will be used to take the appearance only of the creatures and bring them into the scene.