BIS fnc laptopInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "{{Feature | Informative | " to "{{Feature|informative|")
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.72


|1.72|Game version=
|gr1= Scripts


|gr1 = Scripts |GROUP1=
|arg= global|eff= local


|arg= global |Multiplayer Arguments=
|descr= Adds an [[:Category:Easter Eggs|Easter egg]] to the laptop, that is active only if the mission date is set to '''2001-06-22'''.
{{Feature|informative|Best used with the Old Laptop.}}


|eff= local |Multiplayer Effects=
|s1= laptop call [[BIS_fnc_laptopInit]]


| Adds an [[:Category:Easter Eggs|Easter egg]] to the laptop, that is active only if the mission date is set to '''2001-06-22'''.
|p1= laptop: [[Object]]
{{Informative | Best used with the Old Laptop.}} |Description=


| laptop call [[BIS_fnc_laptopInit]] |Syntax=
|r1= [[Nothing]] or [[Number]] (action ID)


|p1= laptop: [[Object]] |Parameter 1=
|x1= <sqf>private _actionId = _myLaptop call BIS_fnc_laptopInit;</sqf>


| [[Nothing]] or [[Number]] (action ID) |Return value=
|seealso= [[BIS_fnc_laptopPlayVideo]]
 
|x1= <code>[[private]] _actionId = _myLaptop [[call]] [[BIS_fnc_laptopInit]];</code> |Example 1=
 
| [[BIS_fnc_laptopPlayVideo]] |See also=
}}
}}


[[Category:Functions|{{uc:laptopInit}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:laptopInit}}]]
[[Category:Easter Eggs]]
[[Category:Easter Eggs]]


<!-- CONTINUE Notes -->
{{Note
<dl class="command_description">
|user= Poslovitch
<dd class="notedate">Posted on April 22, 2020 - 19:29 (UTC)</dd>
|timestamp= 20200422192900
<dt class="note">[[User:Poslovitch|Poslovitch]]</dt>
|text= On '''{{arma3}} 1.98.146303''':
<dd class="note">
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.
* 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.
* 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.
* 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.
</dd>
}}
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 21:41, 16 May 2024

Hover & click on the images for description

Description

Description:
Adds an Easter egg to the laptop, that is active only if the mission date is set to 2001-06-22.
Best used with the Old Laptop.
Execution:
call
Groups:
Scripts

Syntax

Syntax:
laptop call BIS_fnc_laptopInit
Parameters:
laptop: Object
Return Value:
Nothing or Number (action ID)

Examples

Example 1:
private _actionId = _myLaptop call BIS_fnc_laptopInit;

Additional Information

See also:
BIS_fnc_laptopPlayVideo

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Poslovitch - c
Posted on Apr 22, 2020 - 19:29 (UTC)
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.