Jump to content
Sign in to follow this  
eegore

Ending a cutscene mid-mission

Recommended Posts

I know I should have this down already but I have a cutscene mid-mission that I can start, but it never ends.

Player cameraeffect ["terminate","back"]
camdestroy _camera

Camdestroy doesn't end the scene and give control back to the player?

EDIT:

I just figured out the issue is that I don't know how to remove the cutscene text and blackout. The control is given back to the player but the screen is black.

titlecut ["Final text player sees","black out",7]
~6

Player cameraeffect ["terminate","back"]
camdestroy _camera
titlecut ["test text that never shows up","black in",3]

exit;

Edited by eegore

Share this post


Link to post
Share on other sites

if you set 7 in titlecut /cuttext:

70 second for "plain /plain down",

7 second fading time for "black in/out", fading duration number should be lower than delay/sleep number, or let it empty (default fading time is 1 second).

for instant effect:

titlecut ["Final text player sees","black out"];
~6
Player cameraeffect ["terminate","back"];
camdestroy _camera;
titlecut ["test text that never shows up","black in"];

exit;

And below here just an example, toying with "black in" duration time,

description:

when player get damage 0.3 (example), the player's screen will "black in" in 0.6 second

player addEventHandler ["hit", {_dmpr = getDammage player; cutText ["","BLACK IN",(_dmpr *2)]}];

Edited by Morieza
...forgot something

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×