RoomLightChanged
Gets called when a room's light is changed.
Start a script section
!-- OnEvent RoomLightChanged
-- require *evRoom $evNewState
# Add your instructions here
- Group: ServerEvents
- Cancellable: No
- Event data:
RoomLightChangedEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
*evRoom | reference to Room object | Gets the current room. |
$evNewState | bool value | Gets the Room new light state. |