R3vo 2654 Posted November 9, 2015 class RscTitles { class CutsceneDisplay { idd = 80000; movingEnable = false; name = ""; fadein = 0; fadeout = 0; duration = 99999; controls[] = {"Background"}; class Background: RscPicture { text = "background_Altis.jpg"; x = 0 * safezoneW + safezoneX; y = 0 * safezoneH + safezoneY; w = 1 * safezoneW; h = 1 * safezoneH; }; }; }; Use the RscTitle class to create a display instead of a dialogue. Share this post Link to post Share on other sites
kvntvan 13 Posted November 9, 2015 class RscTitles { class CutsceneDisplay { idd = 80000; movingEnable = false; name = ""; fadein = 0; fadeout = 0; duration = 99999; controls[] = {"Background"}; class Background: RscPicture { text = "background_Altis.jpg"; x = 0 * safezoneW + safezoneX; y = 0 * safezoneH + safezoneY; w = 1 * safezoneW; h = 1 * safezoneH; }; }; }; Use the RscTitle class to create a display instead of a dialogue. I tried to figure this out a bit last night but I'm really bad/new to this coding language segment of the ARMA 3 editor. What would I do with this? I got it to sort of work by going into downloadData.hpp and replacing the "class T8L_DataDownloadDialog" with your "class CutsceneDisplay", is that all ? It seems to work with downloading and allowing me to move but I get an error saying "Resource T8L_datadownloaddialog" is missing and the GUI showing the download progress disappears, otherwise it works fine Share this post Link to post Share on other sites
R3vo 2654 Posted November 10, 2015 http://www.armaholic.com/page.php?id=27142 See if that helps you. The information about diaologues and displays is sadly scattered all over the wiki without having a proper structure(at least I don't see one) Share this post Link to post Share on other sites
Ironman13 13 Posted November 15, 2015 Has this been optimized to work on a dedicated server or am I responsible for that functionality? Share this post Link to post Share on other sites
Mattastic 97 Posted February 25, 2016 Hey, I am trying to use this script and keep getting an error. The error is with an undefined variable. I haven't changed any of your code except for removing the bomb script lines from the init.sqf that you include and to be clear the same error resulted before removing that code. Share this post Link to post Share on other sites
papanowel 120 Posted March 1, 2016 Hey, I am trying to use this script and keep getting an error. The error is with an undefined variable. I haven't changed any of your code except for removing the bomb script lines from the init.sqf that you include and to be clear the same error resulted before removing that code. I have the exact same problem. Share this post Link to post Share on other sites
pedeathtrian 99 Posted March 1, 2016 Make sure all variables are initialized at the time you spawn BIS_fnc_MP (or similar line in your case): waitUntil {!(isNil "laptop01" || isNil "laptop02" || isNil "laptop03")}; [ [ laptop01, laptop02, laptop03 ], "T8L_fnc_addActionLaptop", true, true] spawn BIS_fnc_MP; Demo version has this in init.sqf sleep 10; // I dont know why, but some sleep is requied or the Actions on the Objects wont work ... this is beyond my knowledge Yours probably don't (or 10 is not enough). Share this post Link to post Share on other sites
BadHabitz 235 Posted April 27, 2016 I like this a lot, but I think it would be better if an animation fired off when this is used as well. Share this post Link to post Share on other sites
mariocornetto 15 Posted August 19, 2016 Hi, i got this error: This is the Init.sqf part: /* ======================================================================================================================= File: init.sqf Author: T-800a ======================================================================================================================= */ enableSaving [ false, false ]; call compile preprocessFile "downloadData.sqf"; waitUntil { !isNil "T8L_var_INITDONE" }; if ( !isServer ) exitWith {}; sleep 10; // I dont know why, but some sleep is required or the Actions on the Objects wont work ... this is beyond my knowledge [ bomb1234, "T8_SB_fnc_addAction", true, true] spawn BIS_fnc_MP; [ [ laptop01, laptop02, laptop03 ], "T8L_fnc_addActionLaptop", true, true] spawn BIS_fnc_MP; I'm tried using @pedeathtrian's solution before but no works for me. I use laptop1. Laptop2 and 3 are out of the mission. I use others scripts in my mission like: Jboy Burning/Exploding Barrel script - https://forums.bistudio.com/topic/174218-jboy-burningexploding-barrel-script-released/(i think that jboy's script and this are in conflict) POLPOX's Animations - https://forums.bistudio.com/topic/192292-polpoxs-calm-animations-3/ Greetings. Share this post Link to post Share on other sites
novainfuse 12 Posted January 18, 2017 Sorry that this is an old thread, but I can't find a solution. I'm literally copying the script files into my mission folder, setting it up exactly the same way as in the test mission, even naming it the same way, but I can't seem to get it to work? Share this post Link to post Share on other sites
superogira 12 Posted August 20, 2017 I think this script should add animation for press button to download data from notebook. i add this script in downloadData.sqf line 100 _caller switchMove "AinvPercMstpSrasWrflDnon_Putdown_AmovPercMstpSrasWrflDnon"; 1 Share this post Link to post Share on other sites
novainfuse 12 Posted October 22, 2017 Is there a way to make this script CREATE a task? I copied the tasks on the demo mission, and also tried to change this in the trigger condition (laptop01 getVariable [ "T8L_pvar_dataDownloaded", true ];), but it automatically creates the task. Share this post Link to post Share on other sites
snakeplissken 96 Posted October 25, 2017 On 09/11/2015 at 6:46 AM, R3vo said: class RscTitles { class CutsceneDisplay { idd = 80000; movingEnable = false; name = ""; fadein = 0; fadeout = 0; duration = 99999; controls[] = {"Background"}; class Background: RscPicture { text = "background_Altis.jpg"; x = 0 * safezoneW + safezoneX; y = 0 * safezoneH + safezoneY; w = 1 * safezoneW; h = 1 * safezoneH; }; }; }; Use the RscTitle class to create a display instead of a dialogue. Forgive me for reliving this topic. But in what file and where is this added? I'm pretty noob about the script, mainly because English is not my language. On 22/10/2017 at 1:22 AM, novainfuse said: Is there a way to make this script CREATE a task? I copied the tasks on the demo mission, and also tried to change this in the trigger condition (laptop01 getVariable [ "T8L_pvar_dataDownloaded", true ];), but it automatically creates the task. If the completion of the download activates a trigger, you can do this trigger after being activated activate a task module. Share this post Link to post Share on other sites
VedKay 2 Posted May 27, 2019 (edited) **EDIT** Figured it out, I'll leave this here in case anyone else comes across the error. So the way T-800a wrote the script it calls for x3 laptops to be placed and named, otherwise one of the "-x" variables will not be present, thus it will throw up the error. So just make sure you place down x3 laptops (laptop01, laptop02, laptop03). Otherwise you will need to edit the script to only include the number of laptops you have in your mission. Talk about reviving a topic! Was anyone able to find a solution to the "Undefined variable: _x" issue? @T-800a , anybody? Please any advice would be very much appreciated. In the demo mission no errors pop up. But as soon as I copy the script to another WIP mission this error pops up on start : if !( |#|_x getVariable [ "T8L_pvar_dataDownloade..." Error Undefined variable in expression: _x The action still functions, so it isn't action breaking but still doesn't look good to post a mission with an error at the start. Edited May 27, 2019 by VedKay Figured it out! 1 1 Share this post Link to post Share on other sites
beebah 7 Posted September 17, 2020 Hello, can anyone explain how to make an interactive laptop with textures. Similar to the laptops in the Oldman dlc. Share this post Link to post Share on other sites