> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/ai-tree/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/ai-tree/integrations/ultimate-horror-fps-kit/apply-damage.md).

# Apply Damage

Node description and basic instructions

Uses the node to apply damage UHFPS entities.

{% hint style="success" %}
It's generic node to apply damage for UHFPS entities with health.
{% endhint %}

***

To create it, right-click on free space in Behaviour Tree window and select:&#x20;

* <mark style="color:purple;">**Create Node/Tasks/Integrations/UHFPS/Apply Damage**</mark>

This task node has a number of fields, that are highlighted in picture below.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FK1GlMtBSA8e98Fcei1UV%2FApplyDamage.png?alt=media&amp;token=db43982a-8367-46bc-89af-8452ede27593" alt=""><figcaption><p>Apply Damage node</p></figcaption></figure>

### Fields

| Name              | Description                                    |
| ----------------- | ---------------------------------------------- |
| Node Name         | Custom name of node.                           |
| Ignore Abort Self | Whether node ignores abort self or not.        |
| Target Key        | Target entity to apply damage (Player).        |
| Attack Radius     | Max radius distance to apply damage to entity. |
| Damage Key        | Amount of damage.                              |
| Damage Delay      | Delay periud of appling damage.                |
| Attack Duration   | Duration time of attack animation.             |
