setLightDayLight: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.50 | |0.50 | ||
|gr1 = Lights | |gr1 = Lights | ||
|arg= local | |arg= local | ||
|eff= local | |eff= local | ||
| Sets if light can be used during the day. | | Sets if light can be used during the day. | ||
| light [[setLightDayLight]] bool | | light [[setLightDayLight]] bool | ||
|p1= light: [[Object]] | |p1= light: [[Object]] | ||
|p2= bool: [[Boolean]] | |p2= bool: [[Boolean]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>myLight [[setLightDayLight]] [[true]];</code> | |x1= <code>myLight [[setLightDayLight]] [[true]];</code> | ||
| [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightBrightness]] | | [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightBrightness]] | ||
| | | | ||
}} | }} |
Revision as of 11:09, 18 January 2021
Description
- Description:
- Sets if light can be used during the day.
- Groups:
- Lights
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