Light Groups: Difference between revisions

From Off Grid Wiki
Jump to navigation Jump to search
No edit summary
m (added to modding category)
 
Line 6: Line 6:


Setting the light controller device active/inactive will toggle all it's lighs on & off.
Setting the light controller device active/inactive will toggle all it's lighs on & off.
[[Category:Modding]]

Latest revision as of 10:33, 2 April 2024

  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.