Due to the recent resurgence of spam, we have temporarily disabled user creation and page editing/creation as we resolve the issue.

Difference between revisions of "Filters"

From Snapwiki
Jump to: navigation, search
m
Line 1: Line 1:
 +
[[category:Basics]]
 
Filters can be used to block or allow a signal based on the signal’s activator. Filters are like the bouncer at a nightclub, they only allow an activator on the list to pass.<br>
 
Filters can be used to block or allow a signal based on the signal’s activator. Filters are like the bouncer at a nightclub, they only allow an activator on the list to pass.<br>
  

Revision as of 2016-06-08T14:50:39

Filters can be used to block or allow a signal based on the signal’s activator. Filters are like the bouncer at a nightclub, they only allow an activator on the list to pass.

Filter Types

INPUTS
Filter-AI.png AI Filter Use this filter to define a specific AI pattern. (Note: Possessed Workers and Scientists will not teleport to a destination if the AI Filter is prepared using the Negate option. Further, Possessed Workers and Scientists will teleport to a destination even if the AI filter is set to just one of them or any other demon. A bug fix is coming in a future update.)
Filter-Bool.png Boolean Filter The signal will continue only if the Boolean is true.
Filter-Droppable.png Droppable Filter Use this filter to define a Droppable pattern.
Filter-Module.png Module Filter Use this filter to define a module pattern.
Filter-Player.png Player Filter Use this filter to define a specific player pattern.
Filter-Race.png Race Filter Use this filter to define a specific race pattern. (Note: The Race Filter will not function unless the player slot is set to Demon Player in the Publish Settings. A bug fix is coming in a future update.)
Filter-Team.png Team Filter Use this filter to define a specific team pattern.
Filter-Custom.png Custom Filter Add filters to the Custom Filter to define the who, what and where. Use the Custom Filter by name or place it between an output and an input.
Filter-Volume.png Volume Filter Use this filter to define a specific volume pattern.

Adding a Filter to a Logic Chain

When creating a map, I want to add a teleporter back to the Team 1 base. I want to limit which team can use the teleporter. After adding a Teleporter Pad and a Teleport Destination, I can add a filter in the middle of the logic chain so that only Team 1 can use the teleporter.

Hover over the logic chain between the On Entered output and the Teleport To input. The chain will turn orange.
AddFilter1.PNG

Hold down the Options button and select Add Filter. On PC, the default keys are LEFT CTRL + G. On XBOX One, the default buttons are LT + A. ON PS4, the default buttons are LT + X. From the Filters selection menu, pick the Team Filter.
AddFilter2.PNG

This will add a diamond-shaped object to your logic chain. Open the Team Filter properties. Set the Team you want to allow to true, set all the teams you want to block to false. In this case, only Team 1 will be allowed to use the teleporter.
AddFilter3.PNG

In some cases, you might want to do negate your filter. Negating your filter makes it do exactly the opposite. In our example, Team 1 will be blocked and all the other teams will be allowed.