This is an example of an event using modulated parameters and loop region conditions. The "Auto-Stop" parameter makes use of an AHDSR modulator. This modulator pushes the parameter's value to 100% (or 1.00) when the event instance starts. While the "Auto-Stop" parameter's value is 1.00 the playback position will remain within the loop region. Once the event instance is stopped, the release of the AHDSR modulator is applied. This reduces the parameter's value, which in turn disables the loop region by means of a parameter condition. Any already playing gunshots or casings sounds will play out as the playback position leaves the loop region. Because of the AHDSR modulator, the game never has to set the value of the parameter. Both the full auto and casings multi instruments use random modulators on their volume and pitch properties to produce variety in the output. They are both asynchronous, meaning they continue playing a triggered playlist entry even when the playback position leaves the instrument's trigger region. https://www.fmod.com/resources/documentation-studio?page=authoring-events.html#parameters https://www.fmod.com/resources/documentation-studio?page=modulator-reference.html#ahdsr-modulator https://www.fmod.com/resources/documentation-studio?page=authoring-events.html#timeline-logic https://www.fmod.com/resources/documentation-studio?page=authoring-events.html#trigger-conditions https://www.fmod.com/resources/documentation-studio?page=modulator-reference.html#random-modulator Weapon sounds courtesy of Frank Bry at The Recordist. Machine Gun 2 {0f401ddc-9cc3-4650-9c24-1c43209ca85e} {2e193f8d-92b5-4f55-a7d7-fbd073e56354} {b25c4f9d-1f47-4b94-89e1-8b05ecc39502} {95d562e5-0dc1-428c-9296-79fa91967a77} {fe95956a-5e02-4848-a0cf-058417e95dfc} {5e618944-886a-41d0-96a0-a08198069cb1} {0fc2fa3d-8018-4c63-93ae-377a27e014f5} {001a4c4c-ff56-427b-818c-e2fe66aa6bb4} {8b9f00f3-0328-4a96-8fa7-84477875d85a} {32918aa0-62ea-4602-a8ed-2313aa64a55e} {a6e74d85-afac-461c-8e55-8727d1d249af} {f065d77c-9711-45c4-93a4-b17083db6c19} {f91ec076-2dcf-408d-b9f6-b182f296d1db} {d95f6b21-4ae6-486c-8ec0-e3695deb06bc} {43f3379e-5632-4032-bdb2-0a3fb3981f88} {d5c5d770-74e4-43f1-8603-c1da80d355ca} {fd348e80-4a9b-4d16-980b-261d33724ab7} {561cd480-bd2b-4c2e-b919-d775f9c4f409} {fc18495c-fa0c-4dff-8fb5-92b727ed2bc9} {fc18495c-fa0c-4dff-8fb5-92b727ed2bc9} {bf15a3f1-6824-492a-8cb1-db2383349f1b} {dc955c50-b36f-4589-8627-408c59249b53} {f2f57250-d64e-49f6-a300-16bff9658cf3} {dd124d8d-1ccd-4871-a160-5024e3e3f116} {9d8062f8-eba5-4cc4-81d3-de11c976d710} {ea9c197f-e18e-4658-b971-3fbfc0b272f9} {f098657c-294f-4b3e-a071-654dbfdf70a6} {d30a8be5-04c4-42f5-b5f9-c60b7f924b51} {9d8062f8-eba5-4cc4-81d3-de11c976d710} {f098657c-294f-4b3e-a071-654dbfdf70a6} {07817edf-1446-4734-b864-5d967e48ffb1} {cb1ca835-58e2-431a-a325-58a86b12ea48} {bff9bf59-023a-4ca4-8dff-44d7d1e9e3a0} {32918aa0-62ea-4602-a8ed-2313aa64a55e} {56a8be3e-7042-4c81-8bca-517121783d94} true 0.073777599999999999 3 {85f8e27f-ca44-42c1-a994-ad4d5b8a3a4b} {edec6b2e-1ccb-485b-b631-a9874588b917} {e2923c9d-4533-4f5a-b16b-446f285078b3} {ce965250-f3ff-4161-8fd9-21fd1986f118} {9973714c-f314-4aaf-82d9-93de7ac3a365} Full Auto {39db7427-a2f3-4014-bfa4-4250245b3654} {eda7e555-d35d-48a8-8f10-91f44299067a} {fc18495c-fa0c-4dff-8fb5-92b727ed2bc9} true 0.058048349056603762 0.019985650943396244 {ca906c98-951c-421c-8337-e9eba5153c98} {d3af8259-939c-49c2-a5ea-d77c6c237711} {0225e917-8a2c-44cf-854e-06d7ad565058} {7726b5ae-f5ad-493e-a047-fc567f587665} {1cf277dd-50e0-47e9-b9cd-8159a970c148} {f6829ca7-4a23-47d2-9d1c-8878d4bdb8c2} Casings {f0bf9056-e834-4ee3-88f3-50b1129818d7} {59e9bbca-ed51-4eee-84f4-01ca13a62915} {fc18495c-fa0c-4dff-8fb5-92b727ed2bc9} 0 0.078034000000000006 {fd348e80-4a9b-4d16-980b-261d33724ab7} {d95f6b21-4ae6-486c-8ec0-e3695deb06bc} {1aed06f7-324c-4378-ba64-517bfbd3f85a} {aaba4a35-b1d9-49a8-99a0-c630051bbdab} {0902b178-f7ae-4760-a106-1a11d5047f7d} {2d6fca5a-4ba1-4757-a68f-45d773c095a4} pitch 4.16666985 volume 2 0 3 {4516d375-e205-43b3-94bd-2a3ea63a5bb4} 0 3 {eb9a6ecf-85d8-431c-8c07-fcc337bfdc66} 0 3 {801e8274-ecbb-489f-8ca2-b31b9f2c27ff} {8d9bed40-adf7-4bad-92fe-a3643f9a3d42} pitch 6.25 volume 4 {4347f7aa-87f5-4d92-8fd2-b5516b401a45} {c8c93b0f-5548-47db-8e38-0b46a644024e} {7c12b411-6d4c-4ace-a525-ae147c49c1b1} {1e2a0507-d2c4-485f-8527-60381db4a812} {f9410e74-bb39-4698-8ed5-a4168081ce7d} 0.99000000953674316 1 {aebab073-cbb9-4b10-a724-9daa6698a7cd} 0 {3eae0edd-4f73-005f-09e3-f727ff075640} 2 {028d38fd-417b-0bad-290b-a30ea50da357}