{"name":"BIS_fnc_laptopInit","operator":null,"title":"BIS fnc laptopInit","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_laptopInit","revid":364479,"updated":"2024-05-16T20:41:56Z","groups":["Scripts"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.72"}],"since":{"game":"arma3","name":"Arma 3","version":"1.72"},"arma3_since":"1.72","branch":null,"locality":{"argument":"global","effect":"local","server_exec":false},"exec":null,"description":"Adds an Easter egg to the laptop, that is active only if the mission date is set to **2001-06-22**.\n\n> [!NOTE]\n> Best used with the Old Laptop.","syntaxes":[{"syntax":"laptop call BIS_fnc_laptopInit","since":null,"effect":null,"exec":null,"params":[{"name":"laptop","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"laptop: Object"}],"returns":{"type":"Nothing or Number (action ID)","types":["Nothing","Number"],"description":null,"text":"Nothing or Number (action ID)"}}],"examples":[{"text":"```sqf\nprivate _actionId = _myLaptop call BIS_fnc_laptopInit;\n```","code":["private _actionId = _myLaptop call BIS_fnc_laptopInit;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_laptopPlayVideo"],"notes":[{"user":"Poslovitch","date":"2020-04-22T19:29:00Z","text":"On **Arma 3 1.98.146303**:\n- As specified in the description, if the mission's date is not set to 2001-06-22, this function won't have any effects.\n- If the mission's date is set to 2001-06-22, there is no need to call this function on Old Laptops. The hold action is already applied to them on mission start.\n- This function does not have any effects on (open variants of) modern laptops (Land_Laptop_unfolded_F, Land_Laptop_device_F, Land_Laptop_Intel_01_F, Land_Laptop_Intel_02_F, Land_Laptop_Intel_03_F), except for Rugged laptops (Land_Laptop_03_sand_F, Land_Laptop_03_black_F, Land_Laptop_03_olive_F): the hold action is available and, when completed, causes the laptops to become graphically glitched and to use the Easter Egg video as their textures."}],"categories":["Arma 3: Functions","Arma 3: New Functions","Easter Eggs","Function Group: Scripts","Functions","Functions: Local Effect","Introduced with Arma 3 version 1.72"],"docblock":null,"filled_from_docblock":[]}