BIS fnc laptopInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (infobox to template)
(Add description and see also)
Line 1: Line 1:
{{Function|= Comments
{{Function|Comments=


| arma3 |Game name=
| arma3 |Game name=
Line 5: Line 5:
|1.72|Game version=
|1.72|Game version=


<!---|arg= local |Multiplayer Arguments=--->
|arg= global |Multiplayer Arguments=


<!---|eff= local |Multiplayer Effects=--->
|eff= local |Multiplayer Effects=


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


Description:
| laptop call [[BIS_fnc_laptopInit]] |Syntax=


Doing some secret magic
|p1= laptop: [[Object]] |Parameter 1=


Parameter(s):
| [[Nothing]] or [[Number]] (action ID) |Return value=
_this select 0: OBJECT - The name of object to add action


Returns:
|x1= <code>[[private]] _actionId = _myLaptop [[call]] [[BIS_fnc_laptopInit]];</code> |Example 1=
---
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=


|[] call [[BIS_fnc_laptopInit]]|Syntax=
| [[BIS_fnc_laptopPlayVideo]] |See also=
 
}}
|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
 
|Datatype - description|Return value=
 
|x1= <code></code>|Example 1=


|exec= call |Execution=
| |See also=
}}


[[Category:Function Group: Misc|{{uc:laptopInit}}]]
[[Category:Function Group: Misc|{{uc:laptopInit}}]]
[[Category:Functions|{{uc:laptopInit}}]]
[[Category:Functions|{{uc:laptopInit}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:laptopInit}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:laptopInit}}]]
[[Category:Arma 3: Easter Eggs]]

Revision as of 22:57, 18 November 2019

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:
Uncategorised

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