setLightDayLight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|arg= local |= " to "|arg= local |MPARGUMENTS= ")
Line 7: Line 7:


|arg= local |MPARGUMENTS=
|arg= local |MPARGUMENTS=
|eff= local |Multiplayer Effects=
|eff= local |Multiplayer Effects=
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 13: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| light '''setLightDayLight''' bool |SYNTAX=
| light [[setLightDayLight]] bool |SYNTAX=


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


|p2= bool: [[Boolean]] |PARAMETER2=  
|p2= bool: [[Boolean]] |PARAMETER2=  


| [[Nothing]] |RETURNVALUE=  
| [[Nothing]] |RETURNVALUE=  


 
|x1= <code>myLight [[setLightDayLight]] [[true]];</code> |EXAMPLE1=
|x1= <code>myLight setLightDayLight true;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}


Line 39: Line 38:


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Lights]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 23:56, 19 July 2020

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