Light Groups

From Off Grid Wiki
Revision as of 15:20, 25 October 2021 by WikiAdmin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.