# Triggered Once Script

**URL:** https://qa.fmod.com/t/triggered-once-script/16144
**Category:** Unity
**Created:** [September 7, 2020, 4:56am UTC](https://qa.fmod.com/t/triggered-once-script/16144 "2020-09-07T04:56:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Burmula](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@Burmula](https://qa.fmod.com/u/Burmula)
#### Post date: [September 7, 2020, 4:56am UTC](https://qa.fmod.com/t/triggered-once-script/16144/1 "2020-09-07T04:56:39Z")

</div>

Hi! I wonder, if it is possible to make the function “Trigger Once” reloadable?

E.g. I have some object, which I need to go through. Behind this object, there is a room, where I need to have another ambience. I need that after going through this object, FMOD starts the Snapshot (to change the ambience). I want to create a triggered collider on the object and put Event Emiter with the Snapshot. Then I create a condition Trigger Enter. BUT the snapshot works only when I stay INSIDE the object. When I put triggered once it works well (The player touch the collider -\> snapshot starts). BUT, as it Triggered just ONCE, I can’t change the snapshot again, when I try to EXIT the room (and go through THE OBJECT once again.)

So, can you help me?

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [September 14, 2020, 2:06am UTC](https://qa.fmod.com/t/triggered-once-script/16144/2 "2020-09-14T02:06:42Z")

</div>

Would you be able to use a trigger volume that encases the entire room instead? That way don’t need to use the ‘trigger once’ option.

---

<div class="post-metadata">

### Author: ![Burmula](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@Burmula](https://qa.fmod.com/u/Burmula)
#### Post date: [September 14, 2020, 2:47am UTC](https://qa.fmod.com/t/triggered-once-script/16144/3 "2020-09-14T02:47:49Z")

</div>

The point is that I can’t encase the room. It’s unusual form with some elements going outside. That’s why I need some trigger to just switch on/off the ambience. Or it’s always need to encase the space where I need to change the sounding? And where can I find “trigger volume” function?

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [September 14, 2020, 4:38am UTC](https://qa.fmod.com/t/triggered-once-script/16144/4 "2020-09-14T04:38:01Z")

</div>

You can use [Compound Colliders](https://docs.unity3d.com/Manual/class-Rigidbody.html) for complex shapes.
