Creating a firing pattern based puzzle
In this recipe we will make a puzzle that is based on shooting targets in a specific order cued by color coding in the level.
Toggling the state of a Trigger to disable or enable it based on another action is disarmingly simple. It can seem very difficult however without a push in the right direction. In Kismet, right-clicking on a node allows the user to expose a few properties to which one can give variables. For a Trigger event, one of these is called bEnabled. It is an easy mistake to think that this is a mechanism for changing the enabled state of the event, but it is more a way to get a result or report of the current state. You'd have to also supply a command to change the variable feeding the bEnabled nub.
As shown here, it is a Toggle with a wire extending from its Event nub that does the trick. This leads into the top of the event one wants to either turn on, off, or toggle. This can be tracked in the log during PIE. We are going to examine...