Difference between revisions of "Filter activator team"
m (New page: {{oc_ent}} {{stub}}) |
|||
| Line 1: | Line 1: | ||
| − | {{ | + | {{oc ent}} |
| − | { | + | == Entity Description == |
| + | |||
| + | A filter that filters by the team of the activator. | ||
| + | |||
| + | == Keyvalues == | ||
| + | |||
| + | * '''targetname <target_source>''' | ||
| + | |||
| + | Defines the name that other entities refer to this entity by. | ||
| + | |||
| + | * '''Negated''' | ||
| + | |||
| + | <boolean> If set, the resulting filter will be negated. | ||
| + | |||
| + | * '''filterteam''' | ||
| + | :<choices> Filter Team Number. | ||
| + | :{| | ||
| + | !rowspan="3"| | ||
| + | !colspan="2"| | ||
| + | |- | ||
| + | | '''Literal value''' || '''Description''' | ||
| + | |- | ||
| + | | 1 || Red | ||
| + | |- | ||
| + | | 2 || Blue | ||
| + | |} | ||
| + | |||
| + | ==Inputs== | ||
| + | * '''Kill''' | ||
| + | |||
| + | Removes this entity from the world. | ||
| + | |||
| + | * '''KillHierarchy''' | ||
| + | |||
| + | Removes this entity and all its children from the world. | ||
| + | |||
| + | |||
| + | * '''AddOutput <string>''' | ||
| + | |||
| + | Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care. | ||
| + | |||
| + | Format: <key> <value> | ||
| + | |||
| + | Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)> | ||
| + | |||
| + | * '''FireUser1-4''' | ||
| + | |||
| + | Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs. | ||
| + | |||
| + | * '''TestActivator''' | ||
| + | |||
| + | Test the activator against the filter and fires '''OnPass''' or '''OnFail''' output. | ||
| + | |||
| + | ==Outputs== | ||
| + | |||
| + | * '''OnUser1-4''' | ||
| + | |||
| + | Fired in response to FireUser1-4 inputs. See User Inputs and Outputs. | ||
| + | |||
| + | !activator = activator | ||
| + | |||
| + | * '''OnPass''' | ||
| + | |||
| + | Fired in response to TestActivator input if the activator passes the filter. | ||
| + | !activator = activator | ||
| + | |||
| + | * '''OnFail''' | ||
| + | |||
| + | Fired in response to TestActivator input if the activator fails to pass the filter. | ||
| + | |||
| + | !activator = activator | ||
| + | |||
| + | == Notes and References == | ||
| + | |||
| + | <sub>1. [http://developer.valvesoftware.com/wiki/Filter_activator_team Wiki filter_activator_team article]</sub> | ||
Revision as of 08:40, 29 November 2008
| This Page contains informations about an Obsidian Conflict Entity, which means it is only availible for Obsidian Conflict or rather in that form it is explained. |
Entity Description
A filter that filters by the team of the activator.
Keyvalues
- targetname <target_source>
Defines the name that other entities refer to this entity by.
- Negated
<boolean> If set, the resulting filter will be negated.
- filterteam
- <choices> Filter Team Number.
Literal value Description 1 Red 2 Blue
Inputs
- Kill
Removes this entity from the world.
- KillHierarchy
Removes this entity and all its children from the world.
- AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
- FireUser1-4
Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
- TestActivator
Test the activator against the filter and fires OnPass or OnFail output.
Outputs
- OnUser1-4
Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
!activator = activator
- OnPass
Fired in response to TestActivator input if the activator passes the filter. !activator = activator
- OnFail
Fired in response to TestActivator input if the activator fails to pass the filter.
!activator = activator