> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/objects-filters/set-team-filter-on-object.md).

# Set Team Filter On Object

Restricts object interaction to a specific team or prevents a specific team from interacting.

<figure><img src="https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-74e137057d6f7b94c14119a6cbc4254a8f2c8ecf%2Fcover-tsg-placeholder.jpg?alt=media" alt="Cover image"><figcaption></figcaption></figure>

This node applies a team-based restriction to a specific object, determining which teams are permitted to interact with it. If the `Invert` input is enabled, the specified team is blocked from interacting instead.

## Description

Adds a filter to the Object that only allows the specified [Team](/scripting/nodes/variables-basic/team.md) to interact with the object. If Inverted, the object cannot be interacted with by this `Team`; filters must be reapplied to objects that are respawned.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node Executes a function directly in the node string.

## Inputs

| Input  | Type    | Required | Description                                                           |
| ------ | ------- | -------- | --------------------------------------------------------------------- |
| Object | Object  | Yes      | Object to set filter on for team.                                     |
| Team   | Team    | Yes      | Team to set filter for.                                               |
| Invert | Boolean | Yes      | If TRUE, team cannot access object. If FALSE, team can access object. |

## Outputs

| Output | Type | Description |
| ------ | ---- | ----------- |
| (none) |      |             |

### Bypassed Objects

The following objects do not appear to respect the team filter:

* Ammo Crates
* Scriptable Switches (including Invisible, Banished Terminal, Banished Touchpanel, Banished Touchpanel Wall, Forerunner Terminal, Forerunner Terminal Worn, and UNSC Console)
* Power Sockets (including UNSC, UNSC Green Sand, UNSC Engine Blue, UNSC Engine Red, and UNSC Engine Yellow variants)

### Other Behaviors

* **Weapons:** Players can still perform refill pickups on weapons even if a filter is applied.
* **Hacking Terminals:** The filter functions, but there is no interact button when no filter is on.

## Source Data

* Discord thread: [Object Filters have limitations](https://discord.com/channels/220766496635224065/1321416792643604551/1321416792643604551)

#### <mark style="color:green;">Contributors</mark>

AddiCt3d 2CHa0s\
Artifice
