Jump to content
AbueloCeboleta

Compatibility problem with 'BIS_fnc_cinemaBorder' and 'BIS_fnc_showSubtitle'

Recommended Posts

This is my first post in this page, I'm sorry if I don't use the avaible tools correctly.

Hi everyone, I'm working with a mission and I'm using some scripts, which contain the 'BIS_fnc_showSubtitle'. These scripts work perfectly, but, I also have a script which start with the 'BIS_fnc_cinemaBorder' and then it uses the 'BIS_fnc_showSubtitle'; the problem is that the subtitles from the 'BIS_fnc_showSubtitle' don't show up, since they are covered by the 'BIS_fnc_cinemaBorder'.

I have been investigating and I have figured out that if you don't use the 'BIS_fnc_showSubtitle' before using the 'BIS_fnc_cinemaBorder', the subtitles will show up, but if you use it, the subtitles won't appear.

Here you have two examples:

  • Code 1:
    [1, 999, false, false] call BIS_fnc_cinemaBorder;
    sleep 3;
    ["Officer","Move!"] spawn BIS_fnc_showSubtitle;
    Here, the subtitles show up.
  • Code 2:
    ["Officer","Come on!"] spawn BIS_fnc_showSubtitle;
    sleep 2;
    [1, 999, false, false] call BIS_fnc_cinemaBorder;
    sleep 3;
    ["Officer","Move!"] spawn BIS_fnc_showSubtitle;

    The subtitles don't show up due to the black bars of the 'BIS_fnc_cinemaBorder'.

 

Although I could use other functions similar to 'BIS_fnc_showSubtitle', I really like this one, so I hope you can help me.

 

Sorry for English grammatical mistakes.

 

Share this post


Link to post
Share on other sites

If anyone else have this problem, I've found a solution (more or less). Just use this code at the start of the mission:

[0, 0, false, false] call BIS_fnc_cinemaBorder;
sleep 0.1;
[1, 1, false, false] call BIS_fnc_cinemaBorder;

I also recommend to use this code during 1 second at least:

titleCut ["", "BLACK FADED", 7];

Using these two codes, this problem will be solved.

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

×