audio on collision

Updated on May 22, 2015 in [A] Audio
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
3 on May 22, 2015

Hey, I have a script where audio sound is played when i walk past an invisible trigger, but i want it to only play once. So if the character dies and the scene is reset i won’t here the same audio sound when i walk past the trigger
any help would be much appreciated

  • Liked by
Reply
2 on May 22, 2015

So disable it after playing the sound.

on May 22, 2015

how do i do that ?

Wise
on May 22, 2015

via script 😉 you can use a variable to check whether the trigger has been set on, or just disable component of the trigger

Show more replies
  • Liked by
Reply
Cancel