Light Groups

From Off Grid Wiki
Jump to navigation Jump to search
  1. Create lights
  2. Add a light controller (LightHub-01 prefab form LevelKit, for example)
  3. At the bottom of the light controller's MissionObject component, add your lights to the list
  4. Add the light controller as a device in your mission Lua script (you can use the Common LightHub.lua script for simple setup!) and connect to a network.
  5. Profit.

Setting the light controller device active/inactive will toggle all it's lighs on & off.