Interactive Light

From EVERYWHERE wiki
Revision as of 10:35, 11 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 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