Cleanup is going to take awhile, so the site is back up but editing has been disabled.
Filter activator team
From HalfLife 2 Knowledge Base
Contents |
[edit]
filter_activator_team
Source(core) Filter Entity
[edit]
description
A filter that filters by the team of the activator.
[edit]
properties
- Filter mode Negated(choices) - default: If set to Allow, only entities who match the criteria will pass the filter. If set to Disallow, only entities who do NOT match the criteria will pass the filter.
Allow entities that match criteria- 0 - Allow entities that match criteria
- 1 - Disallow entities that match criteria
- Filter Team Number filterteam(choices) - default: The team number to filter by. If the filter mode is Allow, only entities whose team number matches the given team will pass the filter. If the filter mode is Disallow, all entities EXCEPT those whose team number matches the given team will pass the filter.
Take note, the FGD is not correct in the team values, you have to enter them in yourself.
- 0 - Unassigned (mp_teamplay 0)
- 1 - Spectators
- 2 - Combine
- 3 - Rebels
[edit]
spawn flags
none.
[edit]
inputs
- Kill(void)
Removes this entity from the world. - KillHierarchy(void)
Removes this entity and all its children from the world. - AddOutput(string)
Adds an entity I/O connection to this entity. Format - FireUser1(void)
Causes this entity's OnUser1 output to be fired. - FireUser2(void)
Causes this entity's OnUser2 output to be fired. - FireUser3(void)
Causes this entity's OnUser3 output to be fired. - FireUser4(void)
Causes this entity's OnUser4 output to be fired. - TestActivator(void)
Test the activator against the filter and fires OnPass or OnFail output.
[edit]
outputs
- OnUser1(void)
Fired in response to FireUser1 input. - OnUser2(void)
Fired in response to FireUser2 input. - OnUser3(void)
Fired in response to FireUser3 input. - OnUser4(void)
Fired in response to FireUser4 input. - OnPass(void)
Fired in response to TestActivator input if the activator passes the filter. - OnFail(void)
Fired in response to TestActivator input if the activator fails to pass the filter.
[edit]
related tutorials
Team Deathmatch Levels, by Yesurbius
Submit your tutorial for filter_activator_team

