# Modify AI Targetable List

![](/files/FfPL4a7BNtCCWvB7I4Ck)

## Description

Adds or removes an Object that can be targetable by AI, who will perceive it to be on a Team and will prioritize attacking it based off Priority. The priority value can be negative which reduces the likelihood of being attacked by AI.

## 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                                             |
| --------- | --------------- | -------- | ------------------------------------------------------- |
| Operation | Add/Remove      | Yes      | Whether to add or remove the Object from the list.      |
| Object    | Object          | Yes      | The object being added or removed from targetable list. |
| Team      | Team            | No       | Which team the object is assigned to.                   |
| Priority  | Number (-9.5-1) | No       | The Priority this object has for it's enemies.          |

## Outputs

| Output | Type | Description |
| ------ | ---- | ----------- |
| N/A    | N/A  | N/A         |

\
\
**Contributors**

AddiCt3d 2CHa0s


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.thescriptersguild.com/scripting/nodes/ai-modifiers/modify-ai-targetable-list.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
