Interactive Light: Difference between revisions

From EVERYWHERE wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{CustomHeader|Title=Interactive Light}} This section shows you how to create Logic for turning a light on with a Pressure Plate. <div style="background-color: #050522; float: right; width: 800px; margin-right: 0px;"> <div class="video-container"> <!-- Replace the placeholder video URL with your actual YouTube video URL --> <youtube width="640" height="360">pn9PBRewlok</youtube> <div style="border: 1px solid #473ba7; border-radius: 8px; backg...")
 
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{CustomHeader|Title=Interactive Light}}
This section shows you how to create Logic for turning a light on with a Pressure Plate.
This section shows you how to create Logic for turning a light on with a Pressure Plate.



Revision as of 10:35, 11 June 2024

This section shows you how to create Logic for turning a light on with a Pressure Plate.

       

Required Nodes & Objects:

1x Pressure Plate

2x On/Off Node

1x Point Light

           1

Place a Pressure Plate

This item is in the Logic section of the Asset Library, under Triggers.

           2

Place On/Off Node

This Node is in the Logic section of the Asset Library, under Logic Nodes.

           3

Click on the placed On/Off Node to open its Attributes Menu

Make sure the Behavior is set to “On”.

           4

Place Point Light

This item is in the Effects section of the Asset Library, under Lights.

           5

Click on placed Point Light to open its Attributes Menu

Make sure the “On” tick box is not ticked as we want to turn on the light when we step on the plate.

           6

Link Pressure Plate to On/Off Node

On Step on → Activate

           7

Link On/Off Node to Point Light

On Activate → Turn On/Off

           8

Place a second On/Off Node to your ARC

This node will act as a switch off

           9

Click on the second placed On/Off Node to open its Attributes Menu

Make sure the Behavior is set to “Off”.

           10

Link Pressure Plate to second On/Off Node

On Step Off → Activate

           11

Link second On/Off Node to Point Light

On Activate → Turn On/Off