Interactive Light: Difference between revisions

From EVERYWHERE wiki
Jump to navigation Jump to search
No edit summary
m (Protected "Interactive Light" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
This section shows you how to create Logic for turning a light on with a Pressure Plate.
This page 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 style="background-color: #050522; float: right; width: 800px;  margin-right: 0px;">
<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">pn9PBRewlok</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;">
Line 21: Line 21:
             <div class="step-content">
             <div class="step-content">
                 <h3>Place a Pressure Plate</h3>
                 <h3>Place a Pressure Plate</h3>
                 <p>This item is in the Logic section of the Asset Library, under Triggers.</p>
                 <p>This item will act as our trigger.</p>
             </div>
             </div>
         </div>
         </div>
Line 29: Line 29:
             <div class="step-content">
             <div class="step-content">
                 <h3>Place On/Off Node</h3>
                 <h3>Place On/Off Node</h3>
                 <p>This Node is in the Logic section of the Asset Library, under Logic Nodes.</p>
                 <p>This will act as our switch on.</p>
             </div>
             </div>
         </div>
         </div>
Line 45: Line 45:
             <div class="step-content">
             <div class="step-content">
                 <h3>Place Point Light</h3>
                 <h3>Place Point Light</h3>
                 <p>This item is in the Effects section of the Asset Library, under Lights.</p>
                 <p>This will be the light we want to switch on / off.</p>
             </div>
             </div>
         </div>
         </div>
Line 77: Line 77:
             <div class="step-content">
             <div class="step-content">
                 <h3>Place a second On/Off Node to your ARC</h3>
                 <h3>Place a second On/Off Node to your ARC</h3>
                 <p>This node will act as a switch off</p>
                 <p>This node will act as our switch off.</p>
             </div>
             </div>
         </div>
         </div>
Line 85: Line 85:
             <div class="step-content">
             <div class="step-content">
                 <h3>Click on the second placed On/Off Node to open its Attributes Menu</h3>
                 <h3>Click on the second placed On/Off Node to open its Attributes Menu</h3>
                 <p>Make sure the Behavior is set to “Off”.</p>
                 <p>Make sure the behavior is set to “Off”.</p>
             </div>
             </div>
         </div>
         </div>

Latest revision as of 16:45, 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