fn_manageLights

https://github.com/PhantomDevTeam/PDT-H60-Startup/blob/bugfix-improvement-documentation/Configs_Functions/functions/h60_startup/lights/fn_manageLights.sqf

Description: Turns lights on or off. For control panel lights with adjustable brightness, that can be set as well.

Syntax: [heli, debug, collisionLights, positionLights, cockpitLight, landingLight, upperConsole, lowerConsole, instrumentPannel] call PDT_H60_fnc_manageLights;

Parameters: heli: Objectarrow-up-right - Hatchet H-60 heli whose door gunners to get targets for. debug:Booleanarrow-up-right - (Optional, default: false) Should the text be displayed/logged. collisionLights: Booleanarrow-up-right - (Optional, default: true) Should collision lights be turned on. positionLights: Booleanarrow-up-right - (Optional, default: true) Should position lights be turned on. cockpitLight: Booleanarrow-up-right - (Optional, default: false) Should the cockpit light be turned on. landingLight: Booleanarrow-up-right - (Optional, default: false) Should the landing light be turned on. upperConsole: Numberarrow-up-right - (Optional, default 2) Brightness of the upper console. Range: 0-10 inclusive. lowerConsole: Numberarrow-up-right - (Optional, default 2) Brightness of the lower console. Range: 0-10 inclusive. instrumentPannel: Numberarrow-up-right - (Optional, default 2) Brightness of the instrument panel. Range: 0-10 inclusive.

Return value: None.

Examples: Example 1: [PDT_Heli] call PDT_H60_Startup_fnc_manageLights; Example 2: [PDT_Heli, false, false, true, true] call PDT_H60_Startup_fnc_manageLights;

Last updated