> 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/audio/set-object-3d-audio-loop.md).

# Set Object 3D Audio Loop

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-b8d5cc703d0ebf8b7c9ea05004e1907d3600daee%2Fset-object-3d-audio-loop.png?alt=media)

## Description

Sets a 3D audio loop to play on the Object. Can be set to play only for allied or opposing players, which uses the objects Team setting in the Object Properties menu.

## 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      | Which object is used to play the audio at it's location.             |
| Play For Enemies | Boolean | Yes      | Whether or not the audio will play for enemies of the object's team. |
| Play For Allies  | Boolean | Yes      | Whether or not the audio will play for allies of the object's team.  |

## Outputs

| Output | Type | Description |
| ------ | ---- | ----------- |
| (none) | N/A  | N/A         |

\
\
**Contributors**

AddiCt3d 2CHa0s
