Interactive Light

From EVERYWHERE wiki
Revision as of 11:19, 17 June 2024 by Chameleon (talk | contribs)
Jump to navigation Jump to search

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