Jump to navigation Jump to search
- Controls whether a lamp is lit or not.
- lamp switchLight mode
- lamp: Object
- mode: String - mode can be: "ON", "OFF" or "AUTO" (lamp is on only during nighttime, default)
- Return Value:
- Example 1:
- Example 2:
- Example 3:
- Posted on 2013-09-16
Before Arma 3 v1.92 use setHit instead:
Switch all lights off in the 500 radius of player:
- Posted on Mar 01, 2023 - 14:12 (UTC)
- How to disable all lamps using latest Arma 3 commands, a modern method. Disable all lights that are pre-placed on the map, on the entire map: switchLight on them. If they're lamps, they'll be turned off.