Jump to content

SindreA94

Member
  • Content Count

    4
  • Joined

  • Last visited

  • Medals

Everything posted by SindreA94

  1. Hi, i am working on a campaign scenario where it begins with a black screen then a little dialog to simulate that the player just have woken up. Issue is that i can not get the black screen fading working with monologue. As of now i am using KbTell for monologue and playSound for the sound of an alarm... For the screen fadeing i have call BIS_fnc_blackOut. Here is my code: // Intro and monologue. player KbAddTopic ["intro","dialog\intro\intro.bikb","",""]; ["intro_screen", false, 5] call BIS_fnc_blackOut; playSound "alarm"; sleep 2; Player KbTell [player, "intro", "monologLine1"]; titleText ["<t color='#51b0f0' size='1.5'>Player: </t><t size='1.4'>*Yawn*.. 7:30, FUCK!</t>","PLAIN DOWN", -1, true, true]; // Dialog subtitles. waitUntil { player KbWasSaid [player, "intro", "instructorLine1", 2]; }; sleep 0.5; titleText ["<t size='1.6'></t>","PLAIN DOWN", -1, true, true]; //Removes subtitles. sleep 0.5; ["intro_screen", true, 5] call BIS_fnc_blackIn; In this exsample the black screen works and i get the titleText working but no sound. And if i use titleCut the sound works but the black screen is not in working. It just goes black the does not fade out. Anybody have a clue on on this topic?..
  2. Fixed it. Took another look at titleCut and i had the waitUntill wrong. Final code that works is: // Begin with a black screen titleCut ["", "BLACK FADED", 5]; // Playing the alarm. sleep 1; playSound "Analog_alarm"; sleep 2; // monologue. Player KbTell [player, "intro", "monologueLine1"]; titleText ["<t color='#51b0f0' size='1.5'>Player: </t><t size='1.4'>*Yawn*.. What time is it?</t>","PLAIN DOWN", -1, true, true]; waitUntil { player KbWasSaid [player, "intro", "monologueLine1", 3]; }; sleep 0.5; // Fade back to game. titleCut ["", "BLACK IN", 5];
  3. Hello. I am working on a little mission that uses a varible that i have called _time to randomly select a number from the array for a timer with the sleep command in a script. but right before the sleep i have a hint format command to tell the player. Code: _time = [45, 60, 120] call BIS_fnc_selectRandom; hint format ["All freandly units are KIA. Next avalible unit in: %1 seconds!", _time]; This is going to be a mission for more then 1 person and i haven't found out how to use this on a global stage and i can't seem to get it working with the call BIS_fnc_MP command. Any ideas?
  4. SindreA94

    Global hint format

    Cheers mate. it worked. 🙂
×