Skip to end of metadata
Go to start of metadata


We already explored the idea of using Flow Graph to spawn a player into the scene. We will now look at connecting two entities together to trigger a light to be turned on or off depending on if the player is located within the bounds of an entity. For this we will be using a Proximity Trigger and then also we will be using a traditional light entity to be able to turn it on or off.

Triggering Events Within our Scene

You need to follow these below mentioned steps to connect two entities together and trigger an event in the level:

  1. First, let's start by adding a Proximity Trigger and the Light Entity from the Create Object->Legacy Entities panel through searching for them and dragging them into the scene. (Make sure to take care in placing where the Proximity Trigger is within your level and how it relates to the Spawnpoint of the player that we had positioned earlier.)
  2. Let's go ahead and navigate to our initial flowQuickStart graph and add the two new entities into the graph to begin connecting them.
  3. Now that we have connected the logic we hop into the properties of our light to make it more noticeable for testing purposes. We will need to uncheck the "Active" property as well as change the Diffuse Multiplier to 999 to make it extremely bright.
  4. With everything setup you should now jump into the game and walk forward to activate the Light Entity whenever your have entered into the Proximity Trigger volume.


  • No labels