Light switches
Prerequisites
The light
- Place a light of type
TriggerLightin your map. - Open the light's properties.
- Set
TriggerLight > bInitiallyOntoTrue. - Set
Object > InitialStatetoTriggerToggle. - Set
Events > TagtoMyTriggerLight.
The switch
- Place a light switch actor (
Decoration > LightSwitch) in your map. - Open the light switch's properties.
- Set
Events > EventtoMyTriggerLight.
Finishing up
Rebuild the lighting in your map and click Play Map! to test it out.