-
Notifications
You must be signed in to change notification settings - Fork 5
Filters
Ali 'SupaHam' M edited this page Jan 15, 2018
·
1 revision
Filters! They let you specify criteria to follow.
With filters, Blur can enable a much more personal experience for the player. Be it, the time of day they may spawn at a position. Whether they have a certain amount of kills. Maybe a random chance? And so much more!
The following code block demonstrates how filters are used to control where players are allowed to spawn.
modules:
Teams:
teams:
- id: 'red'
Spawns:
spawns:
- red-spawns:
filter: team-red
The property filter
in this context is expecting a filter, or reference to one. In this case, we reference the team-red
filter - which is automatically generated by the Teams
module to reference all players on team id red
.