Jump to content

Collision trigger to start a sound, but need to stop the collision immediately


MisterGravity
 Share

Recommended Posts

So I have an invisible brush being my collision trigger when I walk into a room to play a certain sound, but as long as I'm "in" the trigger, it's starting over and over and over immediately. I need it to call the sound, and immediately stop being a trigger... forever. NOTE: I need to stop the trigger, not the sound. The sound may be more than 1 second, it may be a short 30 second music interlude.

 

I've attempted to do this, but it doesn't work:

 

tumblr_mzav87k8qI1qk5t55o1_500.jpg

 

This doesn't work either. There's a timer in between the collision trigger and when it disables the collision. Anyway you look at it, I can't seem to stop the collision trigger.

 

tumblr_mzav87k8qI1qk5t55o2_500.jpg

 

 

Ideas?

I'm sure I'll have a million questions in my quest to master the Leadwerks Engine. Thank you for your patience.

Link to comment
Share on other sites

Kavex responded: Have you tried setting the disable on the Noise instead of the CollisionTrigger?

 

This worked PERFECTLY. Obviously Enable and Play are two different things.

 

Thank you!

I'm sure I'll have a million questions in my quest to master the Leadwerks Engine. Thank you for your patience.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...