View Single Post
jjturbo9

JCF Member

Joined: Mar 2025

Posts: 6

jjturbo9 has disabled reputation

Mar 23, 2025, 05:40 PM
jjturbo9 is offline
Reply With Quote
Red face How can I add a sound effect to my level with AS?

I'm trying to trigger a sound when the player walks into a certain tile. On the tile is a trigger zone event and I would like to trigger the sound COMMON_ITEMTRE when the players walks through the trigger zone, but only that particular trigger zone ID. I'm a noob with AS and programming in general, I tried to understand the AS readme, searched some threads, checked some code snippets from this site and looked how other users use AS in their levels but I still don't get it to work. I made the sugar rush counter code snippet from Bloody Body work with AS though so if I know the code I can do it.

Thank you very much in advance!