lightIsOn: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 32: | Line 32: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on August 4, 2006 - 10:56</dd> | |||
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><dd class="note">''Notes from before the conversion:'' | |||
Use [[switchLight]] to turn lamposts on and off. | Use [[switchLight]] to turn lamposts on and off. | ||
</dd> | |||
<!-- Note Section END --> | <!-- Note Section END --> |
Revision as of 11:56, 4 August 2006
Description
- Description:
- Check if lampost is on (shining). Possible values are:
- "ON"
- "OFF"
- "AUTO" (auto is only on during the night).
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
lightIsOn nearestObject [player, "StreetLamp"] != "OFF" _it = lightIsOn object 159582
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
- Posted on August 4, 2006 - 10:56
- hardrock
- Notes from before the conversion: Use switchLight to turn lamposts on and off.