setLightDayLight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets if light can be used during the day.  |= Description
| Sets if light can be used during the day.  |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| light '''setLightDayLight''' bool |= Syntax
| light '''setLightDayLight''' bool |SYNTAX=


|p1= light: [[Object]]  |PARAMETER1=  
|p1= light: [[Object]]  |PARAMETER1=  
Line 22: Line 22:




|x1= <code>myLight setLightDayLight true;</code> |= Example 1
|x1= <code>myLight setLightDayLight true;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightBrightness]] |= See also
| [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightBrightness]] |SEEALSO=


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 14:47, 7 April 2019

Hover & click on the images for description

Description

Description:
Sets if light can be used during the day.
Groups:
Uncategorised

Syntax

Syntax:
light setLightDayLight bool
Parameters:
light: Object
bool: Boolean
Return Value:
Nothing

Examples

Example 1:
myLight setLightDayLight true;

Additional Information

See also:
setLightAmbientsetLightColorlightAttachObjectlightDetachObjectsetLightIntensitysetLightAttenuationsetLightUseFlaresetLightFlareSizesetLightFlareMaxDistancesetLightBrightness

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

Notes

Bottom Section