Arma 3 Scripting

BIS_fnc_laptopInit

  • Global argument
  • Local effect
  • Arma 3 v1.72

Function · Markdown · JSON · original wiki page

Description

Adds an Easter egg to the laptop, that is active only if the mission date is set to 2001-06-22.

Note

Best used with the Old Laptop.

Syntax

laptop call BIS_fnc_laptopInit

Parameters:

Returns: Nothing or Number (action ID)

Examples

Example 1

private _actionId = _myLaptop call BIS_fnc_laptopInit;

See also

BIS_fnc_laptopPlayVideo

Community notes

Poslovitch

On Arma 3 1.98.146303:

  • As specified in the description, if the mission's date is not set to 2001-06-22, this function won't have any effects.
  • 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.
  • 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.