MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / aCinematicIntro

Function aCinematicIntro

scripts/DallasFuncs.cpp:3855–3865  ·  view source on GitHub ↗

$$ACTION Cinematics Introduction fly-in using path [h:CameraPath], with text [s:Text] following player position [o:TotallyNotUsedTarget] on [h:PlayerPath] for [f:Seconds=10.0f]. aCinematicIntro CinematicIntro THE TARGET IS NOT USED, IT'S HERE FOR BACKWARD COMPATIBILITY This starts a level introduction cinematic. The camera will follow the given path. And the given text will be shown at the bottom

Source from the content-addressed store, hash-verified

3853$$END
3854*/
3855void aCinematicIntro(int camera_path, const char *Text, int NoLongerUserTarget, int PlayerPath, float Seconds) {
3856 tCannedCinematicInfo info;
3857
3858 info.type = CANNED_LEVEL_INTRO;
3859 info.camera_pathid = camera_path;
3860 info.target_pathid = PlayerPath;
3861 info.text_to_display = Text;
3862 info.time = Seconds;
3863
3864 Cine_StartCanned(&info);
3865}
3866
3867/*
3868$$ACTION

Callers 15

CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected