Jump to content

cojonuo (DayZ)

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About cojonuo (DayZ)

  • Rank
    Rookie
  1. cojonuo (DayZ)

    Farooq's Revive

    Is this script discontinued? last version 1.5 doesn't work with Arma 3 v1.56, maybe need lcd fix, now I'm using 1.4d that seems to work but has some bugs.
  2. :wacko: ups sorry. Thanks for the info :D
  3. simply try [0] call BIS_fnc_fadeEffect -> Error line 66 |#| sleep _BIS_fadeDuration [1] call BIS_fnc_fadeEffect -> Error line 130 |#| sleep 2; (else Block) [] call BIS_fnc_fadeEffect -> Error line 130 (all default parameters) Function BIS_fnc_fadeEffect: sleep _bis_fadeduration at line 154 is another bug. /* Author: Thomas Ryan Description: Easily carry out complex fading. Default values will be used if parameters aren't defined or set to nil. Parameter(s): _this select 0 (Optional): NUMBER - 0: fade out, 1: fade in _this select 1 (Optional): STRING - "BLACK": black fade, "WHITE": white fade _this select 2 (Optional): NUMBER - Duration of the fade in seconds _this select 3 (Optional): NUMBER - 1: blur while fading, 0: don't use blur _this select 4 (Optional): STRING - String of the music track you wish to play (will only work with fading in) _this select 5 (Optional): STRING - Ending you wish to use (will only work with fading out) _this select 6 (Optional): NUMBER - Use 0: failMission, 1: endMission Returns: Nothing. */ private ["_BIS_fadeInOrOut","_BIS_fadeColor","_BIS_fadeDuration","_BIS_blur","_BIS_music","_BIS_ending","_BIS_failMissionOrEndMission"]; _BIS_fadeInOrOut = _this param [0,1,[0,1]]; _BIS_fadeColor = _this param [1,"BLACK",["BLACK","WHITE"]]; _BIS_fadeDuration = _this param [2,3,[0]]; _BIS_blur = _this param [3,0,[0,1]]; _BIS_music = _this param [4,"",[""]]; _BIS_ending = _this param [5,"",[""]]; _BIS_failMissionOrEndMission = _this param [6,1,[0,1]]; switch (_BIS_fadeInOrOut) do { case 0: { if (_BIS_music != "") then { ["Music track ""%1"" defined for fading out.",_BIS_music] call BIS_fnc_error; }; _BIS_fadeDuration fadeSound 0; _BIS_fadeDuration fadeMusic 0; _BIS_fadeDuration fadeSpeech 0; switch (_BIS_fadeColor) do { case "BLACK": { titleCut ["","BLACK OUT",_BIS_fadeDuration]; }; case "WHITE": { titleCut ["","WHITE OUT",_BIS_fadeDuration]; }; }; if (_BIS_blur == 1) then { "DynamicBlur" ppEffectEnable true; "DynamicBlur" ppEffectAdjust [0]; "DynamicBlur" ppEffectCommit 0; "DynamicBlur" ppEffectAdjust [5]; "DynamicBlur" ppEffectCommit _BIS_fadeDuration; }; sleep _BIS_fadeDuration; if (_BIS_blur == 1) then { "DynamicBlur" ppEffectEnable false; }; if (_BIS_ending != "") then { switch (_BIS_failMissionOrEndMission) do { case 0: { failMission _BIS_ending; }; case 1: { endMission _BIS_ending; }; }; }; }; case 1: { if (_BIS_ending != "") then { ["Ending ""%1"" defined for fading in.",_BIS_ending] call BIS_fnc_error; }; 0 fadeSound 0; 0 fadeSpeech 0; switch (_BIS_fadeColor) do { case "BLACK": { titleCut ["","BLACK FADED",9999]; }; case "WHITE": { titleCut ["","WHITE IN",9999]; }; }; if (_BIS_blur == 1) then { "DynamicBlur" ppEffectEnable true; "DynamicBlur" ppEffectAdjust [5]; "DynamicBlur" ppEffectCommit 0; }; if (_BIS_music != "") then { sleep 1; playMusic _BIS_music; sleep 1; } else { sleep 2; }; _BIS_fadeDuration fadeSound 1; _BIS_fadeDuration fadeSpeech 1; switch (_BIS_fadeColor) do { case "BLACK": { titleCut ["","BLACK IN",_BIS_fadeDuration]; }; case "WHITE": { titleCut ["","WHITE IN",_BIS_fadeDuration]; }; }; if (_BIS_blur == 1) then { "DynamicBlur" ppEffectAdjust [0]; "DynamicBlur" ppEffectCommit _BIS_fadeDuration; sleep _BIS_fadeDuration; "DynamicBlur" ppEffectEnable false; }; }; };
  4. * What functions need improvement? BIS_fnc_fadeEffect, have an error, maybe this is not the thread but FeedTracker is closed and I can't start new Threats on Forum, new user :). Have two errors related with sleep command. First error, an if-else block where else block is only a sleep command, this cause a script error. The other is a script error too, sleep without const time (using a var to set time to sleep).
  5. cojonuo (DayZ)

    Concept for teleport is it possible ?

    Maybe you can take a look to StrategicMap function. Im using this in my mission to quick travel. Also you can read some body functions in the integrated FunctionViewer inside the Eden editor if you want to take a look to MenuPosition or respawn functions
×