BIS fnc switchLamp: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-\r\n]+) *- *S([a-z])" to "$1 - s$2") |
||
Line 14: | Line 14: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|p1= object: [[Object]] - | |p1= object: [[Object]] - street Lamp | ||
|p2= state: [[Boolean]] - true to turn lamp on, false to turn it off | |p2= state: [[Boolean]] - true to turn lamp on, false to turn it off |
Latest revision as of 14:44, 8 November 2023
Description
- Description:
- Switch streetlamp on/off.
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- [object, state] call BIS_fnc_switchLamp
- Parameters:
- object: Object - street Lamp
- state: Boolean - true to turn lamp on, false to turn it off
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- switchLight
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