Interactive Light: Difference between revisions

From EVERYWHERE wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
<div class="video-container">
<div class="video-container">
         <!-- Replace the placeholder video URL with your actual YouTube video URL -->
         <!-- Replace the placeholder video URL with your actual YouTube video URL -->
         <youtube width="640" height="360">zarkFHRHn-0</youtube>
         <youtube width="640" height="360">uODN7Wl2ATM</youtube>


<div style="border: 1px solid #473ba7; border-radius: 8px; background-color: #050522; padding: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); margin: 10px 0; float: right; width: 630px;  margin-right: 35px;">
<div style="border: 1px solid #473ba7; border-radius: 8px; background-color: #050522; padding: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); margin: 10px 0; float: right; width: 630px;  margin-right: 35px;">

Revision as of 11:19, 17 June 2024

This page 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 will act as our trigger.

           2

Place On/Off Node

This will act as our switch on.

           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 will be the light we want to switch on / off.

           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 our 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