lightnings: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\: ?Command[ _]Group\:.*\|\{\{uc\:\{\{PAGENAME\}\}\}\}\]\] " to "")
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\];?<\/code>" to "<sqf>_$1 = $2;</sqf>")
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 0.50


|0.50|Game version=
|gr1= Environment


|gr1= Environment |GROUP1=
|descr= Return the current lightnings value.


|s1= '''lightnings'''


____________________________________________________________________________________________
|r1= [[Number]]


| Return the current lightnings value.  |DESCRIPTION=
|x1= Get the current ''lightnings'' value:<sqf>_lightningsVal = lightnings;</sqf>
____________________________________________________________________________________________


| '''lightnings''' |SYNTAX=
|seealso= [[setLightnings]]
 
| [[Number]] |RETURNVALUE=
 
 
|x1= Get the current ''lightnings'' value:<code>_lightningsVal = [[lightnings]];</code> |EXAMPLE1=
____________________________________________________________________________________________
 
| [[setLightnings]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]

Latest revision as of 22:21, 7 May 2022

Hover & click on the images for description

Description

Description:
Return the current lightnings value.
Groups:
Environment

Syntax

Syntax:
lightnings
Return Value:
Number

Examples

Example 1:
Get the current lightnings value:
_lightningsVal = lightnings;

Additional Information

See also:
setLightnings

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