User Guide (Version 1.14)

Adding a Dead-Man Switch to a Scene

This topic references tools and features that are legacy. If you want to use legacy tools in Lumberyard Editor, disable the CryEntity Removal gem using the Project Configurator or the command line. To learn more about legacy features, see the Amazon Lumberyard Legacy Reference.

Using Flow Graph, a dead-man switch can be implemented. When a player fails to perform a specified action by a certain time, such as a button push, the sequence stops and the player dies. An example is shown below.

A less strict implementation can be set up where, for example, instead of the player dying, the sequence continues and the player may just stumble. The following image shows an example of how to use a separate sequence that runs in parallel to the main sequence.