lightIsOn: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.04|= Game version | |||
____________________________________________________________________________________________ | |||
Check if lampost is on (shining). | | Check if lampost is on (shining). Possible values are: | ||
Examples: lightIsOn [[nearestObject]] [[[player]], "StreetLamp"] != "OFF" _it = lightIsOn [[object]] 159582 |= Description | |||
____________________________________________________________________________________________ | |||
| '''lightIsOn''' |= Syntax | |||
|p1= lamppost: [[Object]] |= Parameter 1 | |||
| [[String]] |= Return value | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
Old Notes (temporary): | |||
Use [[switchLight]] to turn lamposts on and off. | Use [[switchLight]] to turn lamposts on and off. | ||
[[Category:Scripting Commands|LIGHTISON]] | |||
[[Category:Scripting Commands OFP 1.96|LIGHTISON]] | |||
[[Category:Scripting Commands OFP 1.46|LIGHTISON]] | |||
[[Category:Scripting Commands ArmA|LIGHTISON]] |
Revision as of 00:57, 2 August 2006
Description
- Description:
- lightIsOn
- Groups:
- Uncategorised
Syntax
- Syntax:
- String
- Parameters:
- lamppost: Object
- Return Value:
- Return value needed
Examples
- Examples:
- Example needed
Additional Information
- See also:
- See also needed
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
Old Notes (temporary):
Use switchLight to turn lamposts on and off.