switchLight: 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.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Controls lamppost mode. Mode may be: | |||
* '''"ON"''' | * '''"ON"''' | ||
* '''"OFF"''' | * '''"OFF"''' | ||
* '''"AUTO"''' ( Lampost is on only during nighttime) | * '''"AUTO"''' ( Lampost is on only during nighttime) | ||
"AUTO" is default. | |||
Examples: ([[object]] 12345) switchLight "off" [[nearestObject]] [ [[player]], "Streetlamp"] switchLight "OFF" | |||
Comments Use [[lightIsOn]] to check the status of a lamppost. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | lamppost '''switchLight''' mode |= Syntax | ||
|p1= lamppost: [[Object]] |= Parameter 1 | |||
|p2= mode: [[String]] |= Parameter 2 | |||
| [[Nothing]] |= 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> | |||
[[Category:Scripting Commands|SWITCHLIGHT]] | |||
[[Category:Scripting Commands OFP 1.96|SWITCHLIGHT]] | |||
[[Category:Scripting Commands OFP 1.46|SWITCHLIGHT]] | |||
[[Category:Scripting Commands ArmA|SWITCHLIGHT]] |
Revision as of 00:56, 2 August 2006
Description
- Description:
- Controls lamppost mode. Mode may be:
- "ON"
- "OFF"
- "AUTO" ( Lampost is on only during nighttime)
- Groups:
- Uncategorised
Syntax
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